# 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-weekly-ciue3fbyhr/.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_ssh.yml ******************************************************** 1 plays in /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:2 Saturday 18 May 2024 07:37:06 +0000 (0:00:00.017) 0:00:00.017 ********** ok: [sut] TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:56 Saturday 18 May 2024 07:37:08 +0000 (0:00:02.384) 0:00:02.402 ********** ok: [sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:61 Saturday 18 May 2024 07:37:10 +0000 (0:00:02.231) 0:00:04.633 ********** skipping: [sut] => { "false_condition": "ansible_distribution in ['CentOS','RedHat']" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:71 Saturday 18 May 2024 07:37:10 +0000 (0:00:00.009) 0:00:04.642 ********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:82 Saturday 18 May 2024 07:37:10 +0000 (0:00:00.003) 0:00:04.646 ********** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 18 May 2024 07:37:10 +0000 (0:00:00.019) 0:00:04.666 ********** included: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 18 May 2024 07:37:10 +0000 (0:00:00.013) 0:00:04.679 ********** skipping: [sut] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 18 May 2024 07:37:10 +0000 (0:00:00.019) 0:00:04.699 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 18 May 2024 07:37:11 +0000 (0:00:00.282) 0:00:04.981 ********** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 18 May 2024 07:37:11 +0000 (0:00:00.015) 0:00:04.997 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 18 May 2024 07:37:12 +0000 (0:00:01.550) 0:00:06.547 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "remote-fs.target network.target -.mount basic.target systemd-journald.socket tmp.mount system.slice systemd-tmpfiles-setup.service network-online.target", "AllowIsolate": "no", "AssertResult": "no", "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", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "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 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.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": "14753", "LimitNPROCSoft": "14753", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14753", "LimitSIGPENDINGSoft": "14753", "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": "3440672768", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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": "yes", "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": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4426", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "tmp.mount", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 18 May 2024 07:37:13 +0000 (0:00:00.596) 0:00:07.144 ********** included: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for sut TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 18 May 2024 07:37:13 +0000 (0:00:00.049) 0:00:07.193 ********** changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.114584", "end": "2024-05-18 07:37:13.600915", "rc": 0, "start": "2024-05-18 07:37:13.486331" } 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:qlvVhC58rzhg+1bKbV3S5hgkDkuaSRd5DmGs1FoEqjY root@34ad803b-bcf8-4f11-9db4-19ad4efaaf3f.testing-farm The key's randomart image is: +---[RSA 3072]----+ | .=+o | | ...B .. | | .. + =. . | | . +.+.oo. | |.E . *o+So.. | |. . * .=o.o + | | . +o+ ..B | | .o=.o.o . | | o+oo. | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 18 May 2024 07:37:13 +0000 (0:00:00.411) 0:00:07.605 ********** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDYzVuRGdwdFh0QTdQb05Xc25WVis3MzBObFFxMFZDbzBXR0RDckhmWk03NVFicjVuSXdtMUtJMnQ5R0ZDd29JQ2NVZ1BTaEVEYnhHNk11RlY4U0k5UEpmWU5VWnRMRytlVzB1T203eUtIOHlkR2xxbllvSVdVaDZNWXdmUlVSUE9iN2d3cXpzcmkrR052VnR2NEZGTUdTay9vT09kQnJmNXhhSkRXOVdHRmN6Z0pLR2MwbUpYOHViVW9DWS8vRjhLclQ2TDEvU2FWeXpSaVZHdkdMU2pFampNOVRCeTltdHBlUGNuandPb01wOTk3Q0VETitzZlp1M2dsVlZ5by9NY2xjUWkwa0RPYm83aHhWWHhsZW5pRXFyL0p6bnBSZGNvekk4ak43NFk1bmc4MzdnUG56Q1IyYnBXUzV1Z1NBS0k0ZmdjRnZiZzYwRENVWHIvT0VWZ09oc1o2SFdCQm9Vbk5rRVZpN09nZUJlTHEvYXNranFqdUJWbENkVUNDUU1CSTRhZXpFakJSUkxyT2R5Z25CYWZvSnlzWWRQODZ2NFIvNGRaYzN2UURWNklHZ0NUWlQzSEZMNEFqeEJ4a1lTRWpxSnA2N09QV3R2YnkxMWYxYU1Ib3lqYlU0R1VYSG9SUm5BUGMxQTExZXU0ZU5pZzhkdmthd21JSUFBNTRtU009IHJvb3RAMzRhZDgwM2ItYmNmOC00ZjExLTlkYjQtMTlhZDRlZmFhZjNmLnRlc3RpbmctZmFybQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 18 May 2024 07:37:13 +0000 (0:00:00.290) 0:00:07.896 ********** ok: [sut] => { "append": false, "changed": false, "comment": "Super User", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 18 May 2024 07:37:14 +0000 (0:00:00.470) 0:00:08.366 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716017331.0826697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "ctime": 1716017833.5998604, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 455, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1716017833.5998604, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "1533062798", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 18 May 2024 07:37:14 +0000 (0:00:00.228) 0:00:08.595 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716017400.262792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1716017331.0796697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716017331.0796697, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "661859275", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 18 May 2024 07:37:14 +0000 (0:00:00.247) 0:00:08.842 ********** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ssh", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 18 May 2024 07:37:15 +0000 (0:00:00.319) 0:00:09.162 ********** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 18 May 2024 07:37:15 +0000 (0:00:00.303) 0:00:09.465 ********** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDVk05SHBBakl5T1kyRkdiYlF0dUNoYkQ1aXQ0NytINDlGTEFUc1lVZWU4WUdWcWk3NjB3K3dQZ3FneHlXcU9ZbDNTL0tIOE12QWNpbXhWVC9ZRDJQSlI5L2hVcllxQmVvN05uK2xoNmZxb2JmZzdEMVRHelFNRnU1UkRRZkhZamRwR2FWYW5xMnNBZ1hpM2p2VlJvV2tMOTk5dzA4eS92QkpHZ3NRZ2x4N3RZMU95OTRCRWM1SjhYTW43aUdERlpSUkNJTXNrTitqZmx6ZnI2cGpQdjhXM2xhUEl5ZkR2bjZobjBjcE5JR0VrcEExLzN1NEY2VzZiVkZ1QXhIcnhkS1Q0Tnozb1A5Z2prUFVqYlMxZkh4bjZYOGZoQnhRdU1KcUQ1S3dFam1Fdmk3MlF3NlZYcUFuR2h2U3RPRmpST3dGWkVJaG1WZTBMZ2ZXZUQ2L3A1MEcvTlVyN3NXZHJVY1plQ211d2dxa3c4SlBCOU4rc05ncVkwRUNoYmorZ1Z5Y0VKcGFWd3dScC8zd3VNRlpqc2NZc0N4RUM2MTRCU1JOSktPaExVRlp4NkdUWXNnK2d6bWlvTGJxS2lIWnNCZS9wYThsaWs3NitVc050ODF5WDlPazBkcUhWOHk5VlZKVFZ3d1NrcWhZVm80R0dpSVluM2Y3dGZZT3krQllQSGM9IHJvb3RAaXAtMTAtMzEtMTItMTI4LnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "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: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 18 May 2024 07:37:15 +0000 (0:00:00.216) 0:00:09.682 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.12.128 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCVM9HpAjIyOY2FGbbQtuChbD5it47+H49FLATsYUee8YGVqi760w+wPgqgxyWqOYl3S/KH8MvAcimxVT/YD2PJR9/hUrYqBeo7Nn+lh6fqobfg7D1TGzQMFu5RDQfHYjdpGaVanq2sAgXi3jvVRoWkL999w08y/vBJGgsQglx7tY1Oy94BEc5J8XMn7iGDFZRRCIMskN+jflzfr6pjPv8W3laPIyfDvn6hn0cpNIGEkpA1/3u4F6W6bVFuAxHrxdKT4Nz3oP9gjkPUjbS1fHxn6X8fhBxQuMJqD5KwEjmEvi72Qw6VXqAnGhvStOFjROwFZEIhmVe0LgfWeD6/p50G/NUr7sWdrUcZeCmuwgqkw8JPB9N+sNgqY0EChbj+gVycEJpaVwwRp/3wuMFZjscYsCxEC614BSRNJKOhLUFZx6GTYsg+gzmioLbqKiHZsBe/pa8lik76+UsNt81yX9Ok0dqHV8y9VVJTVwwSkqhYVo4GGiIYn3f7tfYOy+BYPHc= root@ip-10-31-12-128.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.12.128", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 612, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 18 May 2024 07:37:16 +0000 (0:00:00.334) 0:00:10.016 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716017820.15382, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6358268c70ea4eb010df0ced1b282adb222f1d1b", "ctime": 1716017807.149781, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716017806.9217803, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "uid": 0, "version": "2229972688", "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: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 18 May 2024 07:37:16 +0000 (0:00:00.229) 0:00:10.246 ********** Notification for handler Restart kdump has been saved. changed: [sut] => { "backup_file": "/etc/kdump.conf.7166.2024-05-18@07:37:16~", "changed": true, "checksum": "286399f161268e619631afc075f25ecf82d552c1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "4867da092db2ce19ad02a47ab2e3c6ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 138, "src": "/root/.ansible/tmp/ansible-tmp-1716017836.3117638-2490-280215214966884/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 18 May 2024 07:37:16 +0000 (0:00:00.694) 0:00:10.940 ********** ok: [sut] => { "attempts": 1, "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: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 18 May 2024 07:37:17 +0000 (0:00:00.215) 0:00:11.156 ********** ok: [sut] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 18 May 2024 07:37:17 +0000 (0:00:00.020) 0:00:11.176 ********** changed: [sut] => { "changed": true, "cmd": [ "kdumpctl", "reset-crashkernel", "--kernel=ALL" ], "delta": "0:00:00.508683", "end": "2024-05-18 07:37:17.912711", "rc": 0, "start": "2024-05-18 07:37:17.404028" } STDERR: kdump: Updated fadump= for kernel=/boot/vmlinuz-6.8.9-300.fc40.x86_64. Please reboot the system for the change to take effect. kdump: Updated fadump= for kernel=/boot/vmlinuz-0-rescue-6c6f3643b3594188b15055dcf31ac834. Please reboot the system for the change to take effect. TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 18 May 2024 07:37:17 +0000 (0:00:00.738) 0:00:11.914 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts['distribution_major_version'] | int <= 8", "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: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 18 May 2024 07:37:17 +0000 (0:00:00.020) 0:00:11.935 ********** fatal: [sut]: 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: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:86 Saturday 18 May 2024 07:37:17 +0000 (0:00:00.023) 0:00:11.958 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup kdump_path] ****************************************************** task path: /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:94 Saturday 18 May 2024 07:37:18 +0000 (0:00:00.021) 0:00:11.979 ********** ok: [sut] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for sut RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 18 May 2024 07:37:18 +0000 (0:00:00.248) 0:00:12.227 ********** skipping: [sut] => { "changed": false, "false_condition": "not kdump_reboot_required", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=0 failed=0 skipped=4 rescued=1 ignored=0 Saturday 18 May 2024 07:37:18 +0000 (0:00:00.020) 0:00:12.248 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.38s /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:2 -------------------------- Gather facts from sut --------------------------------------------------- 2.23s /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:56 ------------------------- fedora.linux_system_roles.kdump : Install required packages ------------- 1.55s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.74s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.69s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.60s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.47s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.41s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.33s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.32s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.30s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.29s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.28s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Cleanup kdump_path ------------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciue3fbyhr/tests/tests_ssh.yml:94 ------------------------- fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.25s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.23s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.23s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.22s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.22s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.05s /WORKDIR/git-weekly-ciue3fbyhr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---