# 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-cin9x8yg_g/.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-cin9x8yg_g/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:2 Saturday 06 July 2024 09:27:43 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:56 Saturday 06 July 2024 09:27:43 +0000 (0:00:00.730) 0:00:00.742 ********* ok: [sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:61 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.489) 0:00:01.232 ********* skipping: [sut] => { "false_condition": "ansible_distribution_major_version == '6'" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:71 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.008) 0:00:01.240 ********* 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-cin9x8yg_g/tests/tests_ssh.yml:82 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.003) 0:00:01.244 ********* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.019) 0:00:01.263 ********* included: /WORKDIR/git-weekly-cin9x8yg_g/.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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.012) 0:00:01.276 ********* 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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.017) 0:00:01.293 ********* 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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.178) 0:00:01.472 ********* ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.015) 0:00:01.487 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.018) 0:00:01.506 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 06 July 2024 09:27:44 +0000 (0:00:00.406) 0:00:01.912 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ActiveEnterTimestampMonotonic": "37168403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "remote-fs.target basic.target network.target network-online.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 05:20:51 EDT", "AssertTimestampMonotonic": "18343920", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ConditionTimestampMonotonic": "18343919", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ExecMainExitTimestampMonotonic": "37168204", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ExecMainStartTimestampMonotonic": "18345063", "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 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 05:20:51 EDT] ; stop_time=[Sat 2024-07-06 05:21:10 EDT] ; pid=1218 ; code=exited ; status=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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 05:20:51 EDT", "InactiveExitTimestampMonotonic": "18346194", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 06 July 2024 09:27:45 +0000 (0:00:00.358) 0:00:02.271 ********* included: /WORKDIR/git-weekly-cin9x8yg_g/.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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 06 July 2024 09:27:45 +0000 (0:00:00.035) 0:00:02.307 ********* changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.263363", "end": "2024-07-06 05:27:45.807648", "rc": 0, "start": "2024-07-06 05:27:45.544285" } 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:B2NTfjMeeD84BOG36HFRQj4OsgiopyH173xiyCXHSdU root@ip-10-31-9-148.us-east-1.aws.redhat.com The key's randomart image is: +---[RSA 2048]----+ | .+oo . | | . .+E+ o | | o . .* = % | | o . ..o * X X | |+ . .o..S + B o | |.+ ..= o o . . | |. . =. . | | ooo . | | .oo | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 06 July 2024 09:27:45 +0000 (0:00:00.452) 0:00:02.759 ********* ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEV3lNWGVZckwvMDRFWFFnU1VXMlhRcy9hVEpISm03U2kzRUxBY2ZBeDVjNHkweWxMUzlyVDQvakMvcHNERnV0VWhONEhid0hxZkZvSjgzL2JkRjJhVDEyV3dRUUFzQUMxRmxRVmpQRm9NN05GYXA5SUJMWEhqb2RJQlgweXdOUS9UMzkvMzVGYWlFcTJiMjBzYXovTG4yaDhyRlVkYzdSTER5bklaVlNhenlQM0x4Vm4xZjNOdFZMZEVtTHBQNWVLS21SS3M4M1lkZGt2NStHc1N3YzFJUG1PdXYzVnhUMFcyQ0d5dHFIRDFyUE5GSXNEM3IwM3lkTTBvWmtxYmpyVG5DdTJvdXpHSDl3dThBNHppWGlwM0Izc01sd2lhWGp6cDlhV0RNdDBOamIvSy9zK3B3US9uZFh3OW1ud1l3Z2lZSGRXTFA3eHlxZ3ZVd2t6TTlUbDEgcm9vdEBpcC0xMC0zMS05LTE0OC51cy1lYXN0LTEuYXdzLnJlZGhhdC5jb20K", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 06 July 2024 09:27:46 +0000 (0:00:00.189) 0:00:02.948 ********* ok: [sut] => { "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 : Get the ssh directory for the user] **** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 06 July 2024 09:27:46 +0000 (0:00:00.375) 0:00:03.324 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720257651.9158332, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1720258065.8065567, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 20, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1720258065.8065567, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852951894", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 06 July 2024 09:27:46 +0000 (0:00:00.132) 0:00:03.456 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720257743.1287994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1720257651.9158332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22411, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720257651.9148333, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "22411381", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 06 July 2024 09:27:46 +0000 (0:00:00.138) 0:00:03.595 ********* 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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 06 July 2024 09:27:46 +0000 (0:00:00.240) 0:00:03.835 ********* changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 06 July 2024 09:27:47 +0000 (0:00:00.207) 0:00:04.042 ********* ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDOHZFZW9SMUhvYWcwZFZwRTQ2RWFUQnUyOU5SRG5TNFArd2V5bm1FM0c3T0tFek52amxyTUNqZHZHZVR2eEhqNlJ0ZStwM3BMaURuMTQreWEvRmo2WFhubDhPMGFnOHc5eFh0ZVBLUDBmODNMOXBYZlJ4b1U2OVVRSGRaRUNhRHZYYkRjenZrSlBrZzNnZ1JQRjJLNUZmTk9ham9oR0ExTlRDbjR2d3E2ZkQ3RnpMbmRmSGk0aVhFUjh1TnlQdG5tMDFiWVlCSXhna2sxZk5KaC9YRTg4bFl2ekdRSVNqMms5aGpoSDd1ZG5TWlB1MmwxY1dLVzVXeVc3R2YxbVhOSGpYOEtjZ3RMRmhxQ2d6ZkpWbXBEdG1wZWhIU0VqblIyalMySTdtem4rUGd2TEpMcFJFY3BQclA4OC81eXNBM2dzVHMzMmREQmxJdkxQVC9RSk56WTMgCg==", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 06 July 2024 09:27:47 +0000 (0:00:00.116) 0:00:04.159 ********* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.148 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.9.148", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 394, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 06 July 2024 09:27:47 +0000 (0:00:00.227) 0:00:04.387 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720257651.9758332, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", "ctime": 1718880241.3036501, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 147672, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880241.3036501, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 7274, "uid": 0, "version": "22382559", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 06 July 2024 09:27:47 +0000 (0:00:00.134) 0:00:04.521 ********* Notification for handler Restart kdump has been saved. changed: [sut] => { "backup_file": "/etc/kdump.conf.8483.2024-07-06@05:27:48~", "changed": true, "checksum": "f04fa46cc39f1e17291ba387665318d7e66d80e1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "9607fb0d8c5b5c0e58856a696198e6fc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 103, "src": "/root/.ansible/tmp/ansible-tmp-1720258067.622961-303-1043577879407/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.463) 0:00:04.985 ********* ok: [sut] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.120) 0:00:05.105 ********* ok: [sut] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.018) 0:00:05.124 ********* skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.015) 0:00:05.139 ********* skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.014) 0:00:05.153 ********* skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.014) 0:00:05.168 ********* skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.015) 0:00:05.184 ********* skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.014) 0:00:05.199 ********* ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ActiveEnterTimestampMonotonic": "37168403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "remote-fs.target basic.target network.target network-online.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 05:20:51 EDT", "AssertTimestampMonotonic": "18343920", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ConditionTimestampMonotonic": "18343919", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ExecMainExitTimestampMonotonic": "37168204", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ExecMainStartTimestampMonotonic": "18345063", "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 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 05:20:51 EDT] ; stop_time=[Sat 2024-07-06 05:21:10 EDT] ; pid=1218 ; code=exited ; status=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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 05:20:51 EDT", "InactiveExitTimestampMonotonic": "18346194", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Cleanup kdump_path] ****************************************************** task path: /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:94 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.194) 0:00:05.393 ********* 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-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 06 July 2024 09:27:48 +0000 (0:00:00.131) 0:00:05.524 ********* changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ActiveEnterTimestampMonotonic": "37168403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "remote-fs.target basic.target network.target network-online.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 05:20:51 EDT", "AssertTimestampMonotonic": "18343920", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ConditionTimestampMonotonic": "18343919", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 05:21:10 EDT", "ExecMainExitTimestampMonotonic": "37168204", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Sat 2024-07-06 05:20:51 EDT", "ExecMainStartTimestampMonotonic": "18345063", "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 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 05:20:51 EDT] ; stop_time=[Sat 2024-07-06 05:21:10 EDT] ; pid=1218 ; code=exited ; status=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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 05:20:51 EDT", "InactiveExitTimestampMonotonic": "18346194", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Saturday 06 July 2024 09:28:08 +0000 (0:00:20.123) 0:00:25.648 ********* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 20.12s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:2 -------------------------- Gather facts from sut --------------------------------------------------- 0.49s /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:56 ------------------------- fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.46s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.45s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 0.41s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.38s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.36s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.24s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.23s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.21s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.19s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.19s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.18s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.14s /WORKDIR/git-weekly-cin9x8yg_g/.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.13s /WORKDIR/git-weekly-cin9x8yg_g/.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.13s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Cleanup kdump_path ------------------------------------------------------ 0.13s /WORKDIR/git-weekly-cin9x8yg_g/tests/tests_ssh.yml:94 ------------------------- fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.12s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.12s /WORKDIR/git-weekly-cin9x8yg_g/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---