# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:2 Thursday 30 November 2023 18:58:52 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:56 Thursday 30 November 2023 18:58:52 +0000 (0:00:00.703) 0:00:00.719 ***** ok: [sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:61 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.520) 0:00:01.239 ***** 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-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:71 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.012) 0:00:01.252 ***** 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-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:82 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.007) 0:00:01.259 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.024) 0:00:01.284 ***** included: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.016) 0:00:01.300 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.028) 0:00:01.328 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.196) 0:00:01.524 ***** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Thursday 30 November 2023 18:58:53 +0000 (0:00:00.017) 0:00:01.542 ***** 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" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Thursday 30 November 2023 18:58:54 +0000 (0:00:00.446) 0:00:01.988 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ActiveEnterTimestampMonotonic": "448085630", "ActiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ActiveExitTimestampMonotonic": "425631296", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice remote-fs.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:58:24 UTC", "AssertTimestampMonotonic": "425677558", "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": "Thu 2023-11-30 18:58:24 UTC", "ConditionTimestampMonotonic": "425677557", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ExecMainExitTimestampMonotonic": "448075989", "ExecMainPID": "4730", "ExecMainStartTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ExecMainStartTimestampMonotonic": "425681976", "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=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:46 UTC] ; pid=4730 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:24 UTC] ; pid=4721 ; code=exited ; status=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", "InactiveEnterTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveEnterTimestampMonotonic": "425670602", "InactiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveExitTimestampMonotonic": "425682023", "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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Thursday 30 November 2023 18:58:54 +0000 (0:00:00.381) 0:00:02.370 ***** included: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Thursday 30 November 2023 18:58:54 +0000 (0:00:00.053) 0:00:02.423 ***** changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.035212", "end": "2023-11-30 18:58:54.903807", "rc": 0, "start": "2023-11-30 18:58:54.868595" } 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:BQRm/dS5RuqZM8WG+8kxdiZenAo9cjxhizAf8oHvZnE root@01146760-3d01-4903-8a81-d1fc0f909afb.testing-farm The key's randomart image is: +---[RSA 2048]----+ | ++o . . | | o ... + | | +.= . | | =.* O | | SO # + . | | / E * | | . & % | | + * | | o | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Thursday 30 November 2023 18:58:54 +0000 (0:00:00.229) 0:00:02.653 ***** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZCtGdkJDd2pBcjcrck5UYmI4RXlkWlRnUkZxME4zWmw0Y2VueDdVdy8xaVFkTWFVQkRiSFZTbjl0RmhoQWFGQXVMbWRjOWo2RVN4VjUwYU1xNHN1L2NhMVlwR3VhdWgrS29PazNENVBsekZRblJCSU00dXVnNUttZW12dmhLM09hTDJMZFBEbm92STY5SnBIS0lBS1Q5cy9GWTMxY0lSUFFwSThJeXhNMWgvSHJFQ0tacCtiTFhLWGxVMW51cWtzVWt0NGIyRjRBUW5KZlVPUjFRSnZISjNRMmxZQmJLb0VnN1RQVTNRbk5ZWUxsaU1sdEtEOHgzN3V0ck5ZR0txS0pvK2R0WjRjS2d1R0ZmalhOVGViM1JQWENLRXJ2SkVnUTNHc3lUSEZJQTNQUHJ0eHVwSlJSSjVQaUFTMjI2Vk14T3RTQUhEbEFnNFFHenV3RzRwWVIgcm9vdEAwMTE0Njc2MC0zZDAxLTQ5MDMtOGE4MS1kMWZjMGY5MDlhZmIudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Thursday 30 November 2023 18:58:55 +0000 (0:00:00.190) 0:00:02.843 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Thursday 30 November 2023 18:58:55 +0000 (0:00:00.297) 0:00:03.141 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701370291.7562146, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701370734.902414, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 8940300, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701370734.902414, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 101, "uid": 0, "version": "18446744073298231835", "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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Thursday 30 November 2023 18:58:55 +0000 (0:00:00.133) 0:00:03.275 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701370381.1937146, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1701370291.7562146, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399732, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701370291.7552145, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "18446744072279526696", "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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Thursday 30 November 2023 18:58:55 +0000 (0:00:00.139) 0:00:03.414 ***** 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": 101, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Thursday 30 November 2023 18:58:55 +0000 (0:00:00.222) 0:00:03.636 ***** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Thursday 30 November 2023 18:58:56 +0000 (0:00:00.219) 0:00:03.856 ***** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQ2ZPRmNLYyt5ZUpmdy93NzVSK3RUakJqYytZRk9raEVJTkdHUDJiOU0wOFhFeXAxWWFSMEpuWmRzdDlJZWpxT1ZIUTJtY3Z6TG5yQ0RqY3hMWnE1blllYURxZEVocmFFeGZ5NW9FOHpXYWRScTd0bnNQbitwcC9BRW8xOW81NnpiVjgvR2lBSG1rN1dvU3UzVzUwUTc1SENaaTlUSTRYRjViSFA4OU1wOTRjWlNlQXhVbnQrR2ZsbElaL3dQSE1ZbnFJZTNPSnVwUW0reEFEeGE2ZDM4V0FodHU3bGRuazBQYXdUN25GSjJwbkNIN0ZjWUZyWndLRnBmK2VNeWZ6Z04vRUh4dGQ3UHRWbURTY2doSHAyc2tmbUN1QVk4Y0dRNE13cGh1V0UrK3F0dWRhWGF0dVZsUGtqa1lnUWNVMDdBUFk4eXVXTFhlL0x5RUNKQ1dvSGogCg==", "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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Thursday 30 November 2023 18:58:56 +0000 (0:00:00.120) 0:00:03.976 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.176 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCfOFcKc+yeJfw/w75R+tTjBjc+YFOkhEINGGP2b9M08XEyp1YaR0JnZdst9IejqOVHQ2mcvzLnrCDjcxLZq5nYeaDqdEhraExfy5oE8zWadRq7tnsPn+pp/AEo19o56zbV8/GiAHmk7WoSu3W50Q75HCZi9TI4XF5bHP89Mp94cZSeAxUnt+GfllIZ/wPHMYnqIe3OJupQm+xADxa6d38WAhtu7ldnk0PawT7nFJ2pnCH7FcYFrZwKFpf+eMyfzgN/EHxtd7PtVmDScghHp2skfmCuAY8cGQ4MwphuWE++qtudaXatuVlPkjkYgQcU07APY8yuWLXe/LyECJCWoHj \n", "mode": "0644", "name": "10.31.13.176", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Thursday 30 November 2023 18:58:56 +0000 (0:00:00.262) 0:00:04.238 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701370704.5608013, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "ctime": 1701370703.316817, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701370703.1078198, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 77, "uid": 0, "version": "772966798", "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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Thursday 30 November 2023 18:58:56 +0000 (0:00:00.133) 0:00:04.372 ***** Notification for handler Restart kdump has been saved. changed: [sut] => { "backup_file": "/etc/kdump.conf.11527.2023-11-30@18:58:57~", "changed": true, "checksum": "502af4518cc50ad6db217a1f3ae2722a3888532a", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "496dea1ae8afa463c0cbb4f74dea7fdc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 104, "src": "/root/.ansible/tmp/ansible-tmp-1701370736.6688232-2572-171650734388628/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.466) 0:00:04.839 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.121) 0:00:04.961 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.023) 0:00:04.984 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.020) 0:00:05.004 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.020) 0:00:05.025 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.018) 0:00:05.044 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.018) 0:00:05.062 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.017) 0:00:05.079 ***** ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ActiveEnterTimestampMonotonic": "448085630", "ActiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ActiveExitTimestampMonotonic": "425631296", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice remote-fs.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:58:24 UTC", "AssertTimestampMonotonic": "425677558", "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": "Thu 2023-11-30 18:58:24 UTC", "ConditionTimestampMonotonic": "425677557", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ExecMainExitTimestampMonotonic": "448075989", "ExecMainPID": "4730", "ExecMainStartTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ExecMainStartTimestampMonotonic": "425681976", "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=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:46 UTC] ; pid=4730 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:24 UTC] ; pid=4721 ; code=exited ; status=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", "InactiveEnterTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveEnterTimestampMonotonic": "425670602", "InactiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveExitTimestampMonotonic": "425682023", "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-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:94 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.201) 0:00:05.281 ***** 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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Thursday 30 November 2023 18:58:57 +0000 (0:00:00.136) 0:00:05.418 ***** changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ActiveEnterTimestampMonotonic": "448085630", "ActiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ActiveExitTimestampMonotonic": "425631296", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice remote-fs.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:58:24 UTC", "AssertTimestampMonotonic": "425677558", "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": "Thu 2023-11-30 18:58:24 UTC", "ConditionTimestampMonotonic": "425677557", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:58:46 UTC", "ExecMainExitTimestampMonotonic": "448075989", "ExecMainPID": "4730", "ExecMainStartTimestamp": "Thu 2023-11-30 18:58:24 UTC", "ExecMainStartTimestampMonotonic": "425681976", "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=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:46 UTC] ; pid=4730 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:58:24 UTC] ; stop_time=[Thu 2023-11-30 18:58:24 UTC] ; pid=4721 ; code=exited ; status=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", "InactiveEnterTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveEnterTimestampMonotonic": "425670602", "InactiveExitTimestamp": "Thu 2023-11-30 18:58:24 UTC", "InactiveExitTimestampMonotonic": "425682023", "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=7 rescued=0 ignored=0 Thursday 30 November 2023 18:59:19 +0000 (0:00:21.525) 0:00:26.943 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 21.53s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:2 ------------ Gather facts from sut --------------------------------------------------- 0.52s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:56 ----------- fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.47s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Install required packages ------------- 0.45s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.38s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.30s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.26s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.23s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.22s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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.22s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.20s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.20s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.19s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.14s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Cleanup kdump_path ------------------------------------------------------ 0.14s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/tests/tests_ssh.yml:94 ----------- fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.13s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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-test-kdump-path-cleanupz48s2y00/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.12s /WORKDIR/git-test-kdump-path-cleanupz48s2y00/.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-test-kdump-path-cleanupz48s2y00/.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. ---^---^---^---^---^---