ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpez7hiwwx executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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_ssh.yml ******************************************************** 1 plays in /tmp/tmp3b8xhfcb/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:1 Wednesday 06 July 2022 00:39:15 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [gather facts from /cache/fedora-35.qcow2.snap] *************************** task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:59 Wednesday 06 July 2022 00:39:16 +0000 (0:00:01.128) 0:00:01.142 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:64 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.803) 0:00:01.945 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:74 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.021) 0:00:01.967 ******** META: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap skipping: [/cache/fedora-35.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-35.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:85 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.017) 0:00:01.985 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.036) 0:00:02.021 ******** included: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.028) 0:00:02.050 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:39:17 +0000 (0:00:00.529) 0:00:02.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:39:19 +0000 (0:00:02.037) 0:00:04.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice network.target remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "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": "yes", "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", "ConditionTimestamp": "Wed 2022-07-06 00:38:55 UTC", "ConditionTimestampMonotonic": "6700108", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.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": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "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": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:39:20 +0000 (0:00:00.758) 0:00:05.376 ******** included: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.kdump : Check whether key exists] ********************* task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:39:20 +0000 (0:00:00.086) 0:00:05.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Create key] *********************************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:39:21 +0000 (0:00:00.492) 0:00:05.955 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.167421", "end": "2022-07-06 00:39:20.948003", "rc": 0, "start": "2022-07-06 00:39:20.780582" } STDOUT: Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/kdump_id_rsa Your public key has been saved in /root/.ssh/kdump_id_rsa.pub The key fingerprint is: SHA256:lNgxb02J2vM/d/mhBGNAx9chU5qJxTgKyieNDM4z9cI root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 3072]----+ | o..o+=oo.| | . . +.=o*+o*. | | o * * =++.++ | | = E =.o+ | | o + S * | | . + | | o ..| | . +.+| | . o+| +----[SHA256]-----+ TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:39:21 +0000 (0:00:00.668) 0:00:06.623 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDN09vdEZNRmNUcmowTVIrVnZmZENibTl5OW43YU53VzdoNEJBUklWQ1ZLbW9qajZ3WjBXVVZpRkdOM2lTRjg3cEs4YjcrZ09JSnZCSDhGZWdvV01PcXJxdFVNakN0bEdCYWJWZG9wblgxekE3VThRUHV0Qk41TkVsUG9jbUI4TU9vRkxiSTh1bytwTzNmbytGWmxzTUpCTkRJbGlPTVZUVzU4MXRzMWVraXJ2aTIwb1BaZXJZUjA4VDdOclNtNmNUb21rMTNLY09oV0xvV0s1OTFRZ0gwWWoxeUg4K3JoMVE3V2NIN1hTdXlTdk1iTEcwS1VLYVBRY2I3VmhCZVdwTnZNNllyeFBSM0lURGw1cVEzOEdwNUtSL1ZrRlNDaFlDenZsNDk5UFdrdXA1ZnlIWjdFUk1VWlFSVy9xV2gvM00zblViSVlvZ0taV085TGw0cGlreDJiMk1aUk02RWlMMHZFUFlCNHo1Y2ZPenQwQW9jOE5ZZFhsQVBTdFVSSTA3NHdmaTdhOVJVWHorMGhTMXVleUFDd0pESTJ1QTU4NW9uT1JTektQNUhUNVRwSXVHc2hKSVBPcFlWcktmVDZqcytBQU5XTkxpc1FLYkI0R2RTaHl4UkdNYm5qSXRBczgxZG5rWFBDOWplUFVRWHdyYm1oL2RHY1FveXdZbU4zUFU9IHJvb3RAaWJtLXA4LWt2bS0wMy1ndWVzdC0wMi52aXJ0LnBuci5sYWIuZW5nLnJkdTIucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for "root"] ********************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:39:22 +0000 (0:00:00.510) 0:00:07.134 ******** ok: [/cache/fedora-35.qcow2.snap] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [linux-system-roles.kdump : Set authorized_keys file path] **************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:39:23 +0000 (0:00:00.611) 0:00:07.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 Wednesday 06 July 2022 00:39:23 +0000 (0:00:00.042) 0:00:07.788 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067818.62603, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657067817.6340299, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 34966, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657067817.63303, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "35", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Get the authorized_keys contents, if any] ***** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 Wednesday 06 July 2022 00:39:23 +0000 (0:00:00.408) 0:00:08.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 Wednesday 06 July 2022 00:39:23 +0000 (0:00:00.422) 0:00:08.620 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "checksum": "b64818fc34ea04d0066503ae662494d08281cb5b", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "887b8694f3c08fa7bc01a6510a6e8b73", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 1016, "src": "/root/.ansible/tmp/ansible-tmp-1657067964.0228426-14799-162726893468226/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 Wednesday 06 July 2022 00:39:24 +0000 (0:00:00.906) 0:00:09.526 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDN1lzaTBabysrRHlHL2N2SDJDaFdtajViQ3F6WWlJRTRPNjZhRTVSZDl1TnJGN0ozMTF2RHRRcFdLaTZZNXdSZlB2Z25ycm9RcjlMRzlqUkFIYTYzQW1ram1VY081VmFGbjFRL0RQTnk2MlZtVEcrdzBrWHd1Z3RGbmlCbC9ZQTQyMG9ycGR0SW5FVXVHTjN6L0FLdFRZTEt4NTU0NVBSOXpGVk5PbXlRU0NkYVhjMjJQOWZGZWRQSytEMjFRSnZFUGcwZ3lJKzVxZFlaejZOOTc4NVFteFQ2cUJLQkRIS1pSa0JOY29ldUVPLzY0QUdKOVNpYVM0MGpVZUZvSUx3SmdlaFA5V21NTFZFQktvRU1ucGpzY2RZSUQ2dmJYQ3FsWFF1MWx2cE1QN2lUYzBKUDR5Q3ZTV2tkZEtOTGFHYWNRd29qUFo3Z3ZHTzZzT0R3Nzc1bzYvZW54SmpYQVl1VmRlRHRYeExhSjRKUXdCa0l5R1ZqT2hpVU94eWt0ditCOUxsRG0wbjJyWU5kaG4yanQ2RXZEMnIyb25FTGd5ZGhMS2xsNWxHbTBwdkhTWmtYMGZaQXdVQjlKclhMaU5mSER4Wklkb05HZm5vTTFIYTQyRXpUejRQeG9ObXR0RlJYS1ViSHI1V2IzMVIxUCtYRDhkbnZpWW1SVjdIQ2FXMk09IHJvb3RAaWJtLXA4LWt2bS0wMy1ndWVzdC0wMi52aXJ0LnBuci5sYWIuZW5nLnJkdTIucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [linux-system-roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 Wednesday 06 July 2022 00:39:25 +0000 (0:00:00.412) 0:00:09.938 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC7Ysi0Zo++DyG/cvH2ChWmj5bCqzYiIE4O66aE5Rd9uNrF7J311vDtQpWKi6Y5wRfPvgnrroQr9LG9jRAHa63AmkjmUcO5VaFn1Q/DPNy62VmTG+w0kXwugtFniBl/YA420orpdtInEUuGN3z/AKtTYLKx5545PR9zFVNOmyQSCdaXc22P9fFedPK+D21QJvEPg0gyI+5qdYZz6N9785QmxT6qBKBDHKZRkBNcoeuEO/64AGJ9SiaS40jUeFoILwJgehP9WmMLVEBKoEMnpjscdYID6vbXCqlXQu1lvpMP7iTc0JP4yCvSWkddKNLaGacQwojPZ7gvGO6sODw775o6/enxJjXAYuVdeDtXxLaJ4JQwBkIyGVjOhiUOxyktv+B9LlDm0n2rYNdhn2jt6EvD2r2onELgydhLKll5lGm0pvHSZkX0fZAwUB9JrXLiNfHDxZIdoNGfnoM1Ha42EzTz4PxoNmttFRXKUbHr5Wb31R1P+XD8dnviYmRV7HCaW2M= root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 624, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:39:25 +0000 (0:00:00.572) 0:00:10.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067921.6288617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657067914.0548618, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35317, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657067913.6418617, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "41", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/kdump.conf] ********************* task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:39:26 +0000 (0:00:00.390) 0:00:10.902 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/kdump.conf.5045.2022-07-06@00:39:26~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657067966.2430842-14875-165112974032321/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:39:27 +0000 (0:00:00.832) 0:00:11.735 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067922.8088617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "ctime": 1657067915.1918616, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35324, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657067914.9248617, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 377, "uid": 0, "version": "41", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/sysconfig/kdump] **************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:39:27 +0000 (0:00:00.393) 0:00:12.128 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.802) 0:00:12.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.382) 0:00:13.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.041) 0:00:13.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.032) 0:00:13.388 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:89 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.042) 0:00:13.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [linux-system-roles.kdump : restart kdump] ********************* task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.042) 0:00:13.473 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=24 changed=4 unreachable=0 failed=0 skipped=3 rescued=1 ignored=0 Wednesday 06 July 2022 00:39:28 +0000 (0:00:00.042) 0:00:13.516 ******** =============================================================================== linux-system-roles.kdump : Install required packages -------------------- 2.04s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:1 ---------------------------------------- linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.91s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 -------- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.83s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- gather facts from /cache/fedora-35.qcow2.snap --------------------------- 0.80s /tmp/tmp3b8xhfcb/tests/tests_ssh.yml:59 --------------------------------------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.80s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.76s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Create key ----------------------------------- 0.67s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 --------- linux-system-roles.kdump : Get userinfo for "root" ---------------------- 0.61s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 -------- linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.57s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 -------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.53s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Fetch key ------------------------------------ 0.51s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 -------- linux-system-roles.kdump : Check whether key exists --------------------- 0.49s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 --------- linux-system-roles.kdump : Get the authorized_keys contents, if any ----- 0.42s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 -------- linux-system-roles.kdump : Fetch the servers public key ----------------- 0.41s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 -------- linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.41s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 -------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.39s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.39s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.38s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 ------- linux-system-roles.kdump : Include SSH tasks ---------------------------- 0.09s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 ------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpez7hiwwx executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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_ssh.yml ******************************************************** 1 plays in /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:1 Wednesday 06 July 2022 00:41:18 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [gather facts from /cache/fedora-35.qcow2.snap] *************************** task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:55 Wednesday 06 July 2022 00:41:19 +0000 (0:00:01.143) 0:00:01.156 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:60 Wednesday 06 July 2022 00:41:20 +0000 (0:00:00.807) 0:00:01.963 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:70 Wednesday 06 July 2022 00:41:20 +0000 (0:00:00.019) 0:00:01.983 ******** META: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap skipping: [/cache/fedora-35.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-35.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:81 Wednesday 06 July 2022 00:41:20 +0000 (0:00:00.017) 0:00:02.001 ******** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:41:20 +0000 (0:00:00.042) 0:00:02.043 ******** included: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:41:20 +0000 (0:00:00.029) 0:00:02.073 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:41:21 +0000 (0:00:00.525) 0:00:02.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:41:23 +0000 (0:00:01.999) 0:00:04.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket basic.target network-online.target system.slice remote-fs.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "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": "yes", "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", "ConditionTimestamp": "Wed 2022-07-06 00:40:59 UTC", "ConditionTimestampMonotonic": "6140403", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.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": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "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": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:41:24 +0000 (0:00:00.776) 0:00:05.375 ******** included: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.kdump : Check whether key exists] ************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:41:24 +0000 (0:00:00.094) 0:00:05.470 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Create key] **************************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:41:24 +0000 (0:00:00.506) 0:00:05.976 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.328049", "end": "2022-07-06 00:41:25.461861", "rc": 0, "start": "2022-07-06 00:41:25.133812" } STDOUT: Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/kdump_id_rsa Your public key has been saved in /root/.ssh/kdump_id_rsa.pub The key fingerprint is: SHA256:Sgqvfo9Uzy5RokQMH66odUl/dzL4UXB/ZENRKaIZhRA root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 3072]----+ | .o. Eo +.. .+B| | oo. o + o +.| | .+ + o o .| | . o.o. .+ . . | |. +.o.+oS = . | |.. +.+.= o = | |. + ..o . | | o.... | | .o...... | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:41:25 +0000 (0:00:00.833) 0:00:06.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FES2VpWWtuOWFmYzRBMmY0YUM2ZnVFMXlwcG9RamhzaEllWldIcURvRjhuNzIwNk9ienNpNUU4ZmtGR21hSmFTODVHZk1IeUx4VWQ0eElLQk5mYlU4SVR6eTBDODJUSUdtb2VreE9zbzhheUFlTHNnQXBwdWFqUEVKUnNKcFJ3VGVDb1FCZ2JYaE5NQXN5RFVLUXBRUVpFd0pMai81dWdkQlhkcFEvTGVlelMzZVZrOGY4dGc0OUlSaDBseGJHa2ZMMzJTdzY4MERRTThBTVZaL3g0M1gvc2Mza255NHNlM0JmRzNaSmZRRDR4ZWhhZzFMSUF3V2ZpZk9JUG1la29zOEpYZXRjeDduOGdpNzVlRVhJS2I5aVZkK05XOFFRQkprN1hIMVJ4UmM1SVZNSUp6UVpkNUZXekZXeGUrSitPcnhOYlRqdW5seVhMbmtLU1VEZU40djJiSEVad2hqWHJuQThFa0QyOW9jcnZvcmV1NEU5Qk56Nzd0L2VvZnBEWHNCcnl4c0dRcjBmRy9jVXlMVkFMem93SXQ3c283d1pETE1rVVJVenM1ck52NXhWa055SEMrYmZuSmswK2JIK2U1VWovSlhqdTJ4YUdWdmk5L28vZkt5cElEUzJNbjh6REE5cVBEdGNocDFkcHhMQ3BsbWl0VGxBcVVKNElSeDNENkU9IHJvb3RAaWJtLXA4LWt2bS0wMy1ndWVzdC0wMi52aXJ0LnBuci5sYWIuZW5nLnJkdTIucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for "root"] *************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:41:26 +0000 (0:00:00.529) 0:00:07.339 ******** ok: [/cache/fedora-35.qcow2.snap] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Set authorized_keys file path] ********* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:41:26 +0000 (0:00:00.614) 0:00:07.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 Wednesday 06 July 2022 00:41:26 +0000 (0:00:00.069) 0:00:08.023 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067818.62603, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657067817.6340299, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 34966, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657067817.63303, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "35", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 Wednesday 06 July 2022 00:41:27 +0000 (0:00:00.407) 0:00:08.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 Wednesday 06 July 2022 00:41:27 +0000 (0:00:00.375) 0:00:08.806 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "checksum": "37eeeb1a05bd867f72f17790f0b61dc07273c2de", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "bf5677515bd13c7679c0a39224c2e36f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 1016, "src": "/root/.ansible/tmp/ansible-tmp-1657068087.6625452-17263-256854210104063/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 Wednesday 06 July 2022 00:41:28 +0000 (0:00:00.882) 0:00:09.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDN1lzaTBabysrRHlHL2N2SDJDaFdtajViQ3F6WWlJRTRPNjZhRTVSZDl1TnJGN0ozMTF2RHRRcFdLaTZZNXdSZlB2Z25ycm9RcjlMRzlqUkFIYTYzQW1ram1VY081VmFGbjFRL0RQTnk2MlZtVEcrdzBrWHd1Z3RGbmlCbC9ZQTQyMG9ycGR0SW5FVXVHTjN6L0FLdFRZTEt4NTU0NVBSOXpGVk5PbXlRU0NkYVhjMjJQOWZGZWRQSytEMjFRSnZFUGcwZ3lJKzVxZFlaejZOOTc4NVFteFQ2cUJLQkRIS1pSa0JOY29ldUVPLzY0QUdKOVNpYVM0MGpVZUZvSUx3SmdlaFA5V21NTFZFQktvRU1ucGpzY2RZSUQ2dmJYQ3FsWFF1MWx2cE1QN2lUYzBKUDR5Q3ZTV2tkZEtOTGFHYWNRd29qUFo3Z3ZHTzZzT0R3Nzc1bzYvZW54SmpYQVl1VmRlRHRYeExhSjRKUXdCa0l5R1ZqT2hpVU94eWt0ditCOUxsRG0wbjJyWU5kaG4yanQ2RXZEMnIyb25FTGd5ZGhMS2xsNWxHbTBwdkhTWmtYMGZaQXdVQjlKclhMaU5mSER4Wklkb05HZm5vTTFIYTQyRXpUejRQeG9ObXR0RlJYS1ViSHI1V2IzMVIxUCtYRDhkbnZpWW1SVjdIQ2FXMk09IHJvb3RAaWJtLXA4LWt2bS0wMy1ndWVzdC0wMi52aXJ0LnBuci5sYWIuZW5nLnJkdTIucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 Wednesday 06 July 2022 00:41:28 +0000 (0:00:00.417) 0:00:10.106 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC7Ysi0Zo++DyG/cvH2ChWmj5bCqzYiIE4O66aE5Rd9uNrF7J311vDtQpWKi6Y5wRfPvgnrroQr9LG9jRAHa63AmkjmUcO5VaFn1Q/DPNy62VmTG+w0kXwugtFniBl/YA420orpdtInEUuGN3z/AKtTYLKx5545PR9zFVNOmyQSCdaXc22P9fFedPK+D21QJvEPg0gyI+5qdYZz6N9785QmxT6qBKBDHKZRkBNcoeuEO/64AGJ9SiaS40jUeFoILwJgehP9WmMLVEBKoEMnpjscdYID6vbXCqlXQu1lvpMP7iTc0JP4yCvSWkddKNLaGacQwojPZ7gvGO6sODw775o6/enxJjXAYuVdeDtXxLaJ4JQwBkIyGVjOhiUOxyktv+B9LlDm0n2rYNdhn2jt6EvD2r2onELgydhLKll5lGm0pvHSZkX0fZAwUB9JrXLiNfHDxZIdoNGfnoM1Ha42EzTz4PxoNmttFRXKUbHr5Wb31R1P+XD8dnviYmRV7HCaW2M= root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 624, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:41:29 +0000 (0:00:00.585) 0:00:10.692 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657068046.607319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657068039.081319, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35317, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068038.674319, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "41", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:41:29 +0000 (0:00:00.388) 0:00:11.081 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/kdump.conf.5045.2022-07-06@00:41:30~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657068089.8796484-17339-267573597189362/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:41:30 +0000 (0:00:00.790) 0:00:11.871 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657068047.8073192, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "ctime": 1657068040.209319, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35324, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068039.934319, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 377, "uid": 0, "version": "41", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump] ********* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:41:31 +0000 (0:00:00.415) 0:00:12.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:41:31 +0000 (0:00:00.786) 0:00:13.073 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.376) 0:00:13.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.043) 0:00:13.494 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.035) 0:00:13.529 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:85 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.045) 0:00:13.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [fedora.linux_system_roles.kdump : restart kdump] ************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.044) 0:00:13.619 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=24 changed=4 unreachable=0 failed=0 skipped=3 rescued=1 ignored=0 Wednesday 06 July 2022 00:41:32 +0000 (0:00:00.043) 0:00:13.662 ******** =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------- 2.00s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:1 ---------------------------------- fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.88s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 fedora.linux_system_roles.kdump : Create key ---------------------------- 0.83s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 gather facts from /cache/fedora-35.qcow2.snap --------------------------- 0.81s /tmp/tmp86wcbtm1/tests/kdump/tests_ssh.yml:55 --------------------------------- fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.79s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.79s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.78s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Get userinfo for "root" --------------- 0.61s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.59s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.53s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.53s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Check whether key exists -------------- 0.51s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.42s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.42s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.41s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.39s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.38s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any --- 0.38s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.09s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15