# 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_reboot.yml ************************************************* 1 plays in /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:2 Thursday 30 November 2023 18:54:57 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:61 Thursday 30 November 2023 18:54:57 +0000 (0:00:00.526) 0:00:00.544 ***** ok: [sut -> sut] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:66 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.370) 0:00:00.915 ***** changed: [sut -> sut] => { "changed": true, "comment": "", "create_home": true, "group": 1189, "home": "/home/kdump_ssh_user", "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1189 } TASK [Set kdump_ssh_user, sshkey, auth keys] *********************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:73 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.302) 0:00:01.217 ***** ok: [sut] => { "ansible_facts": { "__authorized_keys_path": "/home/kdump_ssh_user/.ssh/authorized_keys", "__ssh_dir": "/home/kdump_ssh_user/.ssh", "kdump_ssh_user": "kdump_ssh_user" }, "changed": false } TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:81 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.013) 0:00:01.230 ***** skipping: [sut] => {} META: end_host conditional evaluated to false, continuing execution for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:101 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.017) 0:00:01.248 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:106 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.189) 0:00:01.437 ***** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut TASK [Run the role and reboot if necessary] ************************************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:114 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.019) 0:00:01.457 ***** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.024) 0:00:01.482 ***** included: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.015) 0:00:01.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Check if system is ostree] ******************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.011) 0:00:01.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Set flag to indicate system is ostree] ******** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.012) 0:00:01.522 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Thursday 30 November 2023 18:54:58 +0000 (0:00:00.012) 0:00:01.534 ***** 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 [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Thursday 30 November 2023 18:54:59 +0000 (0:00:00.434) 0:00:01.969 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ActiveEnterTimestampMonotonic": "1211715346", "ActiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ActiveExitTimestampMonotonic": "1190948523", "ActiveState": "active", "After": "network.target basic.target network-online.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:54:30 UTC", "AssertTimestampMonotonic": "1190979321", "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:54:30 UTC", "ConditionTimestampMonotonic": "1190979320", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ExecMainExitTimestampMonotonic": "1211714628", "ExecMainPID": "18440", "ExecMainStartTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ExecMainStartTimestampMonotonic": "1190979897", "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:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:51 UTC] ; pid=18440 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:30 UTC] ; pid=18431 ; 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:54:30 UTC", "InactiveEnterTimestampMonotonic": "1190977730", "InactiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "InactiveExitTimestampMonotonic": "1190979935", "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 [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 Thursday 30 November 2023 18:54:59 +0000 (0:00:00.343) 0:00:02.313 ***** included: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Thursday 30 November 2023 18:54:59 +0000 (0:00:00.035) 0:00:02.348 ***** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "rc": 0 } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 Thursday 30 November 2023 18:54:59 +0000 (0:00:00.180) 0:00:02.529 ***** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZEtSeVpvR0VVMXdIb3k4L1pFbU9PK3AvZWpqZ3h2aVp2OW52bytiY0xUYTlNVUpjTjVnMStWY1lYTjJ2UzFqRXRlYzdvR2duMklIcElPS2VOb1ozNGNPQU1JTDBwcDQySFE2eHVCNjlWOFBYOStpVFhkTFBvK0hCUnk2Zll2T1N1Y1NNQ0lmM0JCYVErUWpxUmhOSGV6WlFteTJZV3lGRXRUNmNXOUNlSjhLS0VZNTVwWkE0MUhNVmNLbW1kSmE2UHFMNFF5ZWFMdGVVV3FsNUtuVGUwZWU5Z2xodjE0SXhPRklzZ0lsMVMxRUFOSzNPc1A3dWZnS1hhcnR6b1kxQm5uNWpYMk5sSE9PZWxTQTF5T0xOb1M5VDFqSi96ZVVrdUhPcWxEVWlZQ1g2TXMxbkVIeitzZDBFaUprcUZzZUhtbFpKVEpmU0Y2YVhrWGQxWVdkOS8gcm9vdEA3ZDExNDVlOS1hNDA1LTRjNTUtYjMxOC1iYTQ2OGU3ZmE0Y2MudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for kdump_ssh_user] ************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.182) 0:00:02.712 ***** ok: [sut -> sut] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [linux-system-roles.kdump : Get the ssh directory for the user] *********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.168) 0:00:02.880 ***** ok: [sut -> sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.128) 0:00:03.009 ***** ok: [sut -> sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.125) 0:00:03.134 ***** changed: [sut -> sut] => { "changed": true, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 1189 } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.228) 0:00:03.363 ***** changed: [sut -> sut] => { "backup": "", "changed": true } MSG: line added and ownership, perms or SE linux context changed TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 Thursday 30 November 2023 18:55:00 +0000 (0:00:00.222) 0:00:03.585 ***** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQ3dsek9NOGRiWmtYWERyYVJHQlQ0NmZ1WVV3dmxuNU5aa0MwNHMzbXdocFNkT3NTQkdkdlc2dy80NS8rUjZJV2wvNkhCUHA4dDdWdVQwenFWbHEyckgyYTJRQzRPOEZqb3FUTlh6K3FHb3NXei92WDE4TzdTS0tRdU1GVTA3RFc3QXc1TjkrYTdVR2Qva0hYQnpDdjZPR3IvdkwwbkFaVE4wMERoTXFWOW95d0o2WTE0OXFWNFl2QnMxVTFBaDNUZHZWNVRtNWZudkhpcmtsYWFydmI3NVBoMWtiQXJ1L2dJSnpOdXN6UXJZemUxaUtaTGltdWhSUm9SM0hnU0FyZHV2bk9xdTBWZnl2cXh0MEc4V2VjRzEzMGNxNjh2cWlSY0tVVW00ek1KcTZPckp1b3lTWEFXK2hQYW85dy8rMWQ2WWd6MmUxdllIelZESVJFQXVrSXQgCg==", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 Thursday 30 November 2023 18:55:01 +0000 (0:00:00.117) 0:00:03.702 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.118 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCwlzOM8dbZkXXDraRGBT46fuYUwvln5NZkC04s3mwhpSdOsSBGdvW6w/45/+R6IWl/6HBPp8t7VuT0zqVlq2rH2a2QC4O8FjoqTNXz+qGosWz/vX18O7SKKQuMFU07DW7Aw5N9+a7UGd/kHXBzCv6OGr/vL0nAZTN00DhMqV9oywJ6Y149qV4YvBs1U1Ah3TdvV5Tm5fnvHirklaarvb75Ph1kbAru/gIJzNuszQrYze1iKZLimuhRRoR3HgSArduvnOqu0Vfyvqxt0G8WecG130cq68vqiRcKUUm4zMJq6OrJuoySXAW+hPao9w/+1d6Ygz2e1vYHzVDIREAukIt \n", "mode": "0644", "name": "10.31.13.118", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Thursday 30 November 2023 18:55:01 +0000 (0:00:00.246) 0:00:03.948 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701370470.9811194, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "401f01cdd985f4ee6d4bd1e7bb05be1ffb2a0868", "ctime": 1701370470.2241545, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701370470.0181642, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 104, "uid": 0, "version": "1899855966", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 Thursday 30 November 2023 18:55:01 +0000 (0:00:00.133) 0:00:04.082 ***** NOTIFIED HANDLER linux-system-roles.kdump : Restart kdump for sut changed: [sut] => { "backup_file": "/etc/kdump.conf.25490.2023-11-30@18:55:01~", "changed": true, "checksum": "3e0517e84096adfa8a6d9ef6d3bf3182a351fc0d", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "4dc7a80ae60bf57ebf471580f4c52f72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1701370501.5087278-2605-51103660092568/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Thursday 30 November 2023 18:55:01 +0000 (0:00:00.474) 0:00:04.557 ***** ok: [sut] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.118) 0:00:04.675 ***** ok: [sut] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.012) 0:00:04.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.010) 0:00:04.699 ***** 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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.010) 0:00:04.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:70 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.011) 0:00:04.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Clear the kdump_reboot_required flag] ********* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:76 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.011) 0:00:04.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.010) 0:00:04.743 ***** ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ActiveEnterTimestampMonotonic": "1211715346", "ActiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ActiveExitTimestampMonotonic": "1190948523", "ActiveState": "active", "After": "network.target basic.target network-online.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:54:30 UTC", "AssertTimestampMonotonic": "1190979321", "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:54:30 UTC", "ConditionTimestampMonotonic": "1190979320", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ExecMainExitTimestampMonotonic": "1211714628", "ExecMainPID": "18440", "ExecMainStartTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ExecMainStartTimestampMonotonic": "1190979897", "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:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:51 UTC] ; pid=18440 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:30 UTC] ; pid=18431 ; 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:54:30 UTC", "InactiveEnterTimestampMonotonic": "1190977730", "InactiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "InactiveExitTimestampMonotonic": "1190979935", "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" } } RUNNING HANDLER [linux-system-roles.kdump : Restart kdump] ********************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Thursday 30 November 2023 18:55:02 +0000 (0:00:00.184) 0:00:04.927 ***** changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ActiveEnterTimestampMonotonic": "1211715346", "ActiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ActiveExitTimestampMonotonic": "1190948523", "ActiveState": "active", "After": "network.target basic.target network-online.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:54:30 UTC", "AssertTimestampMonotonic": "1190979321", "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:54:30 UTC", "ConditionTimestampMonotonic": "1190979320", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:54:51 UTC", "ExecMainExitTimestampMonotonic": "1211714628", "ExecMainPID": "18440", "ExecMainStartTimestamp": "Thu 2023-11-30 18:54:30 UTC", "ExecMainStartTimestampMonotonic": "1190979897", "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:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:51 UTC] ; pid=18440 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:54:30 UTC] ; stop_time=[Thu 2023-11-30 18:54:30 UTC] ; pid=18431 ; 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:54:30 UTC", "InactiveEnterTimestampMonotonic": "1190977730", "InactiveExitTimestamp": "Thu 2023-11-30 18:54:30 UTC", "InactiveExitTimestampMonotonic": "1190979935", "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" } } META: ran handlers TASK [Get the ssh dir for the user] ******************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:121 Thursday 30 November 2023 18:55:23 +0000 (0:00:20.737) 0:00:25.665 ***** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1701370500.7407393, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701370500.961729, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 263359, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701370500.961729, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "1899857104", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Get the authorized_keys file for the user] ******************************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:127 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.134) 0:00:25.800 ***** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1701370502.6756496, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93fe583a42ea1be0e26e5e494928df56237ca3bb", "ctime": 1701370500.962729, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 263361, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701370500.9597292, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 436, "uid": 1189, "version": "1899857109", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:133 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.134) 0:00:25.935 ***** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZEtSeVpvR0VVMXdIb3k4L1pFbU9PK3AvZWpqZ3h2aVp2OW52bytiY0xUYTlNVUpjTjVnMStWY1lYTjJ2UzFqRXRlYzdvR2duMklIcElPS2VOb1ozNGNPQU1JTDBwcDQySFE2eHVCNjlWOFBYOStpVFhkTFBvK0hCUnk2Zll2T1N1Y1NNQ0lmM0JCYVErUWpxUmhOSGV6WlFteTJZV3lGRXRUNmNXOUNlSjhLS0VZNTVwWkE0MUhNVmNLbW1kSmE2UHFMNFF5ZWFMdGVVV3FsNUtuVGUwZWU5Z2xodjE0SXhPRklzZ0lsMVMxRUFOSzNPc1A3dWZnS1hhcnR6b1kxQm5uNWpYMk5sSE9PZWxTQTF5T0xOb1M5VDFqSi96ZVVrdUhPcWxEVWlZQ1g2TXMxbkVIeitzZDBFaUprcUZzZUhtbFpKVEpmU0Y2YVhrWGQxWVdkOS8gcm9vdEA3ZDExNDVlOS1hNDA1LTRjNTUtYjMxOC1iYTQ2OGU3ZmE0Y2MudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:139 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.114) 0:00:26.049 ***** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.021) 0:00:26.071 ***** included: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.013) 0:00:26.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Check if system is ostree] ******************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.011) 0:00:26.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Set flag to indicate system is ostree] ******** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.010) 0:00:26.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.010) 0:00:26.117 ***** 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 [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Thursday 30 November 2023 18:55:23 +0000 (0:00:00.351) 0:00:26.468 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:55:23 UTC", "ActiveEnterTimestampMonotonic": "1243046250", "ActiveExitTimestamp": "Thu 2023-11-30 18:55:02 UTC", "ActiveExitTimestampMonotonic": "1222515441", "ActiveState": "active", "After": "network.target basic.target network-online.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:55:02 UTC", "AssertTimestampMonotonic": "1222546824", "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:55:02 UTC", "ConditionTimestampMonotonic": "1222546823", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:55:23 UTC", "ExecMainExitTimestampMonotonic": "1243045871", "ExecMainPID": "25545", "ExecMainStartTimestamp": "Thu 2023-11-30 18:55:02 UTC", "ExecMainStartTimestampMonotonic": "1222547475", "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:55:02 UTC] ; stop_time=[Thu 2023-11-30 18:55:23 UTC] ; pid=25545 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:55:02 UTC] ; stop_time=[Thu 2023-11-30 18:55:02 UTC] ; pid=25536 ; 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:55:02 UTC", "InactiveEnterTimestampMonotonic": "1222545366", "InactiveExitTimestamp": "Thu 2023-11-30 18:55:02 UTC", "InactiveExitTimestampMonotonic": "1222547813", "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 [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.193) 0:00:26.662 ***** included: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.031) 0:00:26.693 ***** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "rc": 0 } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.136) 0:00:26.829 ***** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZEtSeVpvR0VVMXdIb3k4L1pFbU9PK3AvZWpqZ3h2aVp2OW52bytiY0xUYTlNVUpjTjVnMStWY1lYTjJ2UzFqRXRlYzdvR2duMklIcElPS2VOb1ozNGNPQU1JTDBwcDQySFE2eHVCNjlWOFBYOStpVFhkTFBvK0hCUnk2Zll2T1N1Y1NNQ0lmM0JCYVErUWpxUmhOSGV6WlFteTJZV3lGRXRUNmNXOUNlSjhLS0VZNTVwWkE0MUhNVmNLbW1kSmE2UHFMNFF5ZWFMdGVVV3FsNUtuVGUwZWU5Z2xodjE0SXhPRklzZ0lsMVMxRUFOSzNPc1A3dWZnS1hhcnR6b1kxQm5uNWpYMk5sSE9PZWxTQTF5T0xOb1M5VDFqSi96ZVVrdUhPcWxEVWlZQ1g2TXMxbkVIeitzZDBFaUprcUZzZUhtbFpKVEpmU0Y2YVhrWGQxWVdkOS8gcm9vdEA3ZDExNDVlOS1hNDA1LTRjNTUtYjMxOC1iYTQ2OGU3ZmE0Y2MudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for kdump_ssh_user] ************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.119) 0:00:26.949 ***** ok: [sut -> sut] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [linux-system-roles.kdump : Get the ssh directory for the user] *********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.166) 0:00:27.115 ***** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1701370500.7407393, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701370500.961729, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 263359, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701370500.961729, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "1899857104", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.132) 0:00:27.248 ***** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1701370502.6756496, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93fe583a42ea1be0e26e5e494928df56237ca3bb", "ctime": 1701370500.962729, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 263361, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1701370500.9597292, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 436, "uid": 1189, "version": "1899857109", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.134) 0:00:27.383 ***** ok: [sut -> sut] => { "changed": false, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 1189 } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 Thursday 30 November 2023 18:55:24 +0000 (0:00:00.138) 0:00:27.522 ***** ok: [sut -> sut] => { "backup": "", "changed": false } TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.131) 0:00:27.653 ***** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQ3dsek9NOGRiWmtYWERyYVJHQlQ0NmZ1WVV3dmxuNU5aa0MwNHMzbXdocFNkT3NTQkdkdlc2dy80NS8rUjZJV2wvNkhCUHA4dDdWdVQwenFWbHEyckgyYTJRQzRPOEZqb3FUTlh6K3FHb3NXei92WDE4TzdTS0tRdU1GVTA3RFc3QXc1TjkrYTdVR2Qva0hYQnpDdjZPR3IvdkwwbkFaVE4wMERoTXFWOW95d0o2WTE0OXFWNFl2QnMxVTFBaDNUZHZWNVRtNWZudkhpcmtsYWFydmI3NVBoMWtiQXJ1L2dJSnpOdXN6UXJZemUxaUtaTGltdWhSUm9SM0hnU0FyZHV2bk9xdTBWZnl2cXh0MEc4V2VjRzEzMGNxNjh2cWlSY0tVVW00ek1KcTZPckp1b3lTWEFXK2hQYW85dy8rMWQ2WWd6MmUxdllIelZESVJFQXVrSXQgCg==", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.115) 0:00:27.768 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.118 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCwlzOM8dbZkXXDraRGBT46fuYUwvln5NZkC04s3mwhpSdOsSBGdvW6w/45/+R6IWl/6HBPp8t7VuT0zqVlq2rH2a2QC4O8FjoqTNXz+qGosWz/vX18O7SKKQuMFU07DW7Aw5N9+a7UGd/kHXBzCv6OGr/vL0nAZTN00DhMqV9oywJ6Y149qV4YvBs1U1Ah3TdvV5Tm5fnvHirklaarvb75Ph1kbAru/gIJzNuszQrYze1iKZLimuhRRoR3HgSArduvnOqu0Vfyvqxt0G8WecG130cq68vqiRcKUUm4zMJq6OrJuoySXAW+hPao9w/+1d6Ygz2e1vYHzVDIREAukIt \n", "mode": "0644", "name": "10.31.13.118", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.155) 0:00:27.924 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701370502.5486555, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3e0517e84096adfa8a6d9ef6d3bf3182a351fc0d", "ctime": 1701370501.9136848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701370501.698695, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "version": "1899857125", "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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.128) 0:00:28.053 ***** ok: [sut] => { "changed": false, "checksum": "3e0517e84096adfa8a6d9ef6d3bf3182a351fc0d", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/kdump.conf", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 121, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.324) 0:00:28.378 ***** ok: [sut] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.115) 0:00:28.494 ***** ok: [sut] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.012) 0:00:28.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.010) 0:00:28.517 ***** 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-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.010) 0:00:28.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:70 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.010) 0:00:28.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Clear the kdump_reboot_required flag] ********* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:76 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.010) 0:00:28.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 Thursday 30 November 2023 18:55:25 +0000 (0:00:00.012) 0:00:28.561 ***** ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 18:55:23 UTC", "ActiveEnterTimestampMonotonic": "1243046250", "ActiveExitTimestamp": "Thu 2023-11-30 18:55:02 UTC", "ActiveExitTimestampMonotonic": "1222515441", "ActiveState": "active", "After": "network.target basic.target network-online.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 18:55:02 UTC", "AssertTimestampMonotonic": "1222546824", "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:55:02 UTC", "ConditionTimestampMonotonic": "1222546823", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-11-30 18:55:23 UTC", "ExecMainExitTimestampMonotonic": "1243045871", "ExecMainPID": "25545", "ExecMainStartTimestamp": "Thu 2023-11-30 18:55:02 UTC", "ExecMainStartTimestampMonotonic": "1222547475", "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:55:02 UTC] ; stop_time=[Thu 2023-11-30 18:55:23 UTC] ; pid=25545 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Thu 2023-11-30 18:55:02 UTC] ; stop_time=[Thu 2023-11-30 18:55:02 UTC] ; pid=25536 ; 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:55:02 UTC", "InactiveEnterTimestampMonotonic": "1222545366", "InactiveExitTimestamp": "Thu 2023-11-30 18:55:02 UTC", "InactiveExitTimestampMonotonic": "1222547813", "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 [Get the authorized_keys contents after] ********************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:143 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.191) 0:00:28.752 ***** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZEtSeVpvR0VVMXdIb3k4L1pFbU9PK3AvZWpqZ3h2aVp2OW52bytiY0xUYTlNVUpjTjVnMStWY1lYTjJ2UzFqRXRlYzdvR2duMklIcElPS2VOb1ozNGNPQU1JTDBwcDQySFE2eHVCNjlWOFBYOStpVFhkTFBvK0hCUnk2Zll2T1N1Y1NNQ0lmM0JCYVErUWpxUmhOSGV6WlFteTJZV3lGRXRUNmNXOUNlSjhLS0VZNTVwWkE0MUhNVmNLbW1kSmE2UHFMNFF5ZWFMdGVVV3FsNUtuVGUwZWU5Z2xodjE0SXhPRklzZ0lsMVMxRUFOSzNPc1A3dWZnS1hhcnR6b1kxQm5uNWpYMk5sSE9PZWxTQTF5T0xOb1M5VDFqSi96ZVVrdUhPcWxEVWlZQ1g2TXMxbkVIeitzZDBFaUprcUZzZUhtbFpKVEpmU0Y2YVhrWGQxWVdkOS8gcm9vdEA3ZDExNDVlOS1hNDA1LTRjNTUtYjMxOC1iYTQ2OGU3ZmE0Y2MudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:149 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.115) 0:00:28.868 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:153 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.016) 0:00:28.884 ***** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1701370500.7407393, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701370500.961729, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 263359, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701370500.961729, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "1899857104", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert no changes to ssh dir] ******************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:159 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.126) 0:00:29.011 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:166 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.015) 0:00:29.026 ***** changed: [sut] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:173 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.220) 0:00:29.247 ***** changed: [sut -> sut] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=52 changed=7 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0 Thursday 30 November 2023 18:55:26 +0000 (0:00:00.125) 0:00:29.373 ***** =============================================================================== linux-system-roles.kdump : Restart kdump ------------------------------- 20.74s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.80s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 linux-system-roles.kdump : Install required packages -------------------- 0.79s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.54s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:2 ----- linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.38s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 Gather facts from sut --------------------------------------------------- 0.37s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:61 ---- Create a kdump user on kdump_ssh_server --------------------------------- 0.30s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:66 ---- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.26s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.25s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.23s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.23s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.22s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 Delete user ------------------------------------------------------------- 0.22s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:166 --- Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/tests_ssh_reboot.yml:101 --- linux-system-roles.kdump : Fetch key ------------------------------------ 0.18s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 linux-system-roles.kdump : Create key if it does not exist -------------- 0.18s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 linux-system-roles.kdump : Get userinfo for kdump_ssh_user -------------- 0.17s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 linux-system-roles.kdump : Get userinfo for kdump_ssh_user -------------- 0.17s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/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.16s /WORKDIR/git-test-kdump-path-cleanup6hee1ozx/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---