# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ssh.yml ******************************************************** 1 plays in /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:2 Saturday 20 April 2024 07:40:43 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:59 Saturday 20 April 2024 07:40:44 +0000 (0:00:00.962) 0:00:00.975 ******** ok: [sut -> sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:64 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.756) 0:00:01.732 ******** skipping: [sut] => {} META: 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-ci667vy4ps/tests/tests_ssh.yml:85 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.012) 0:00:01.744 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.040) 0:00:01.785 ******** included: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for sut TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.011) 0:00:01.797 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Check if system is ostree] ******************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.009) 0:00:01.806 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Set flag to indicate system is ostree] ******** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.240) 0:00:02.047 ******** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Saturday 20 April 2024 07:40:45 +0000 (0:00:00.012) 0:00:02.060 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Saturday 20 April 2024 07:40:48 +0000 (0:00:02.646) 0:00:04.707 ******** 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": "systemd-journald.socket network.target remote-fs.target system.slice network-online.target basic.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", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "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", "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", "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": "14772", "LimitNPROCSoft": "14772", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14772", "LimitSIGPENDINGSoft": "14772", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "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", "ReloadSignal": "1", "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", "RuntimeRandomizedExtraUSec": "0", "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]", "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": "4431", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 Saturday 20 April 2024 07:40:49 +0000 (0:00:00.677) 0:00:05.385 ******** included: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml for sut TASK [linux-system-roles.kdump : Create key if it does not exist] ************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Saturday 20 April 2024 07:40:49 +0000 (0:00:00.034) 0:00:05.419 ******** changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.455051", "end": "2024-04-20 07:40:49.981340", "rc": 0, "start": "2024-04-20 07:40:49.526289" } 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:ej6X8qeJKMTJB72YPAH1PlvErZD2dxdsYO/g8CUg7Ho root@79c7fafb-58ba-476f-a96f-1de9f6da0717.testing-farm The key's randomart image is: +---[RSA 3072]----+ | .. .. . o | | . . o.o o + | | . .=.o o o * | | oo.+.. + * . | | + *ooS . + o | | X +=E. . . | | . oo.. . | | . +o.o.. | | .. o=+o | +----[SHA256]-----+ TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 Saturday 20 April 2024 07:40:50 +0000 (0:00:00.721) 0:00:06.141 ******** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FERGc2WVUwSzJyWFFpSEJBakNkaHpFZFFtb1NzZHN4a3p5Y2xLR2lyNEIzU0N0NjRvVDMxckplQVo3WVVFWHZ4NXVPZTVmN2E1RTA1NmxqVWZadkpiQlFkdC83QjNIbXZrUFdMUWhPMFVzdmpCeVlERk1acmNYVDF3Vk9Yd3V5bGFyWW9WY2Z0cFdRclJnVzNZdTVJTVNyTmZKa2Q4QTY5TXZ3SE9CdlZYQ3R4VmswMHduejAvN3k2NW4vSnJIdVBzYVdwSUxjN01EeWFaOGYwMWtlZGRUNHQ4dUdyQWxIM05OVzQ0cXEzdEl1UXFSbmRveDhzSEVBdnp2VlMrc0pkMEY3Qm1KaGVKTlBMMGxEWGI5UlVHQTdETGovZTY1WVg2QjRaSGlsSm9jV3JHbzg5U1FwUGVKL1JibTNNNFBWMldNV1YyZjRPYUF1UFVaYjBqWHBKQ3puc09mNUFWRWhOaDQzcDhUakN1YjdQQTgwM0JmbHdPNmFyZGdBeHIxeDdDN1gvU0VXc3Ixc3oyd28vT3dyZVRkeUFiQzI4ZktNV0NlZHJVSUVKNzNKR3V3Y3lVSHhNeHdOVGU1SGJCZXNDUThuZ0JXK3FzT1lsQkhWZDVMTHJISVR1UGZZWUMrNHR0MHR2dEFWNm1GR3J5a0FxWWVndHNuOVdJeUoxdENLeGM9IHJvb3RANzljN2ZhZmItNThiYS00NzZmLWE5NmYtMWRlOWY2ZGEwNzE3LnRlc3RpbmctZmFybQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for root] ************************ task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 Saturday 20 April 2024 07:40:50 +0000 (0:00:00.263) 0:00:06.404 ******** ok: [sut -> 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 [linux-system-roles.kdump : Get the ssh directory for the user] *********** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 Saturday 20 April 2024 07:40:50 +0000 (0:00:00.440) 0:00:06.844 ******** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1713598057.3856392, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "ctime": 1713598849.9793093, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 457, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1713598849.9793093, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "1071215977", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 Saturday 20 April 2024 07:40:50 +0000 (0:00:00.207) 0:00:07.051 ******** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1713598179.754229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1713598057.3846393, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7126, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1713598057.3836393, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "4087760115", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 Saturday 20 April 2024 07:40:51 +0000 (0:00:00.214) 0:00:07.266 ******** ok: [sut -> 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 [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 Saturday 20 April 2024 07:40:51 +0000 (0:00:00.288) 0:00:07.554 ******** changed: [sut -> sut] => { "backup": "", "changed": true } MSG: line added TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 Saturday 20 April 2024 07:40:51 +0000 (0:00:00.284) 0:00:07.838 ******** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEUHRSZk9uWHZmem0vZ2o2eHhVWlUvWHM2SEZVaS9jWjBjTlZQbDh3anIrY0dRUGZ0TUUzeHpmSUZESkRFb3VxbTNjbkdtVDFySDVMTkg4ektLTVEwOUU2K2pLYm9EQ004NVFCTFk1bGVuc3VYaXBqWkNvNk1laFlOREN6RDhVZEVvVzBidEtwNTlyRlYwb2FyQk5WOTg1YWxhUGpNNk10NDdCeVNqR1BHKy92VTFnMlROWlhXdWgxcmxlcitVRmljemhkK2ZTTmM0VlpmUjNDR25aakIrTi82UEkzelJpbVZ5Wm5XelZQdmFNZTFSNFVvZTh5UEthcGphKy9OVUwzR1dCb0RESGxDcXFQM1d3OGRrNGU2MjNTVVV6U3F5eG5FazlFNklZaVl1R1M5QlFTUzlXZUtOOWNDSVNnNEpFTFVGZDBEWjNEaFVXNzYvelJKRGRqblZqdkdnQnYvTGxmdDRobE9sR2hza2I4Ny8yVC9qVHEyQm5qdWR4aUtVODRleUIxaUN2M25PYnRqMlkxb09qU0dZMGoyUlZ6ZGNFR2FaMHAyeHhzQ2NsOWgxdlg3WWZaK0o1VTJiUHpVelcyMFgwemVxdnJTZXNXMFJPRFVhdlhqcDMxVFdycEhWN0dSbmRXbkhXUjhrSE1oT1c4cmdKSEVwS3lYSG1aQ21NSTA9IHJvb3RAaXAtMTAtMzEtNDYtNDMudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 Saturday 20 April 2024 07:40:51 +0000 (0:00:00.191) 0:00:08.030 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.46.43 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDPtRfOnXvfzm/gj6xxUZU/Xs6HFUi/cZ0cNVPl8wjr+cGQPftME3xzfIFDJDEouqm3cnGmT1rH5LNH8zKKMQ09E6+jKboDCM85QBLY5lensuXipjZCo6MehYNDCzD8UdEoW0btKp59rFV0oarBNV985alaPjM6Mt47BySjGPG+/vU1g2TNZXWuh1rler+UFiczhd+fSNc4VZfR3CGnZjB+N/6PI3zRimVyZnWzVPvaMe1R4Uoe8yPKapja+/NUL3GWBoDDHlCqqP3Ww8dk4e623SUUzSqyxnEk9E6IYiYuGS9BQSS9WeKN9cCISg4JELUFd0DZ3DhUW76/zRJDdjnVjvGgBv/Llft4hlOlGhskb87/2T/jTq2BnjudxiKU84eyB1iCv3nObtj2Y1oOjSGY0j2RVzdcEGaZ0p2xxsCcl9h1vX7YfZ+J5U2bPzUzW20X0zeqvrSesW0RODUavXjp31TWrpHV7GRndWnHWR8kHMhOW8rgJHEpKyXHmZCmMI0= root@ip-10-31-46-43.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.46.43", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 610, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Saturday 20 April 2024 07:40:52 +0000 (0:00:00.437) 0:00:08.467 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713598836.7493443, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6358268c70ea4eb010df0ced1b282adb222f1d1b", "ctime": 1713598828.894366, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262503, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713598828.6863666, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "uid": 0, "version": "810026229", "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: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 Saturday 20 April 2024 07:40:52 +0000 (0:00:00.204) 0:00:08.672 ******** NOTIFIED HANDLER linux-system-roles.kdump : Restart kdump for sut changed: [sut] => { "backup_file": "/etc/kdump.conf.8252.2024-04-20@07:40:53~", "changed": true, "checksum": "8c8c3a6ad71a22fb5f35d6540c65b84b3b1d712b", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "797dccaea2a4cad51981e2a850785246", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1713598852.5698597-2633-55005923065392/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.659) 0:00:09.331 ******** ok: [sut] => { "attempts": 1, "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: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.191) 0:00:09.522 ******** ok: [sut] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.011) 0:00:09.533 ******** changed: [sut] => { "changed": true, "cmd": [ "kdumpctl", "reset-crashkernel", "--kernel=ALL" ], "delta": "0:00:00.368172", "end": "2024-04-20 07:40:53.941389", "rc": 0, "start": "2024-04-20 07:40:53.573217" } TASK [linux-system-roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.567) 0:00:10.101 ******** skipping: [sut] => { "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: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.012) 0:00:10.114 ******** 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-ci667vy4ps/tests/tests_ssh.yml:89 Saturday 20 April 2024 07:40:53 +0000 (0:00:00.013) 0:00:10.127 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup kdump_path] ****************************************************** task path: /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:97 Saturday 20 April 2024 07:40:54 +0000 (0:00:00.015) 0:00:10.143 ******** ok: [sut -> sut] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } RUNNING HANDLER [linux-system-roles.kdump : Restart kdump] ********************* task path: /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Saturday 20 April 2024 07:40:54 +0000 (0:00:00.201) 0:00:10.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=0 failed=0 skipped=4 rescued=1 ignored=0 Saturday 20 April 2024 07:40:54 +0000 (0:00:00.014) 0:00:10.359 ******** =============================================================================== linux-system-roles.kdump : Install required packages -------------------- 2.65s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:2 -------------------------- Gather facts from sut --------------------------------------------------- 0.76s /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:59 ------------------------- linux-system-roles.kdump : Create key if it does not exist -------------- 0.72s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.68s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.66s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed ----- 0.57s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 linux-system-roles.kdump : Get userinfo for root ------------------------ 0.44s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.44s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.29s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.28s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 linux-system-roles.kdump : Fetch key ------------------------------------ 0.26s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 linux-system-roles.kdump : Check if system is ostree -------------------- 0.24s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.21s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 linux-system-roles.kdump : Get the ssh directory for the user ----------- 0.21s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.20s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Cleanup kdump_path ------------------------------------------------------ 0.20s /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:97 ------------------------- linux-system-roles.kdump : Fetch the servers public key ----------------- 0.19s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.19s /WORKDIR/git-weekly-ci667vy4ps/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Run the role. If reboot is not required - the play succeeds. ------------ 0.04s /WORKDIR/git-weekly-ci667vy4ps/tests/tests_ssh.yml:85 ------------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---