ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpm087x4px executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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 /tmp/tmpnta0muep/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnta0muep/tests/tests_ssh.yml:1 Wednesday 06 July 2022 00:54:16 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [gather facts from /cache/centos-7.qcow2c.snap] *************************** task path: /tmp/tmpnta0muep/tests/tests_ssh.yml:59 Wednesday 06 July 2022 00:54:17 +0000 (0:00:00.985) 0:00:00.997 ******** ok: [/cache/centos-7.qcow2c.snap] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmpnta0muep/tests/tests_ssh.yml:64 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.693) 0:00:01.691 ******** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmpnta0muep/tests/tests_ssh.yml:74 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.020) 0:00:01.711 ******** META: end_host conditional evaluated to false, continuing execution for /cache/centos-7.qcow2c.snap skipping: [/cache/centos-7.qcow2c.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-7.qcow2c.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-7.qcow2c.snap TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmpnta0muep/tests/tests_ssh.yml:85 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.017) 0:00:01.729 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.034) 0:00:01.763 ******** included: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.025) 0:00:01.789 ******** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:54:18 +0000 (0:00:00.389) 0:00:02.179 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed" ] } TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:54:19 +0000 (0:00:00.641) 0:00:02.820 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ActiveEnterTimestampMonotonic": "28538480", "ActiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ActiveExitTimestampMonotonic": "14873677", "ActiveState": "active", "After": "network-online.target network.target system.slice systemd-journald.socket remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:53:41 UTC", "AssertTimestampMonotonic": "14896186", "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": "Wed 2022-07-06 00:53:41 UTC", "ConditionTimestampMonotonic": "14896186", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ExecMainExitTimestampMonotonic": "28538120", "ExecMainPID": "2078", "ExecMainStartTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ExecMainStartTimestampMonotonic": "14896735", "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=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:55 UTC] ; pid=2078 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:41 UTC] ; pid=2070 ; 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": "Wed 2022-07-06 00:53:41 UTC", "InactiveEnterTimestampMonotonic": "14895086", "InactiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "InactiveExitTimestampMonotonic": "14897167", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:54:19 +0000 (0:00:00.594) 0:00:03.415 ******** included: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.kdump : Check whether key exists] ********************* task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:54:19 +0000 (0:00:00.080) 0:00:03.495 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Create key] *********************************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:54:20 +0000 (0:00:00.423) 0:00:03.919 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.058648", "end": "2022-07-06 00:54:20.219309", "rc": 0, "start": "2022-07-06 00:54:20.160661" } 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:XhxlByDnGzoQbenqsJzlxGE5N9fIc1UUwGCvwwynXFE root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 2048]----+ | ....o=BEo++| | .++.ooo. | | .+ o+= o | | =.=o%++ | | o =S=+B | | . =. o . | | . O . | | + o | | | +----[SHA256]-----+ TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:54:20 +0000 (0:00:00.487) 0:00:04.407 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZzZFME9jNzJpZ2VBemNCZzVWNExDdlVkQ1lheTY2ZEhZTUh6TW1RczR5bTFhdUlJTW45aXgyS2JHOTJ3cVNaYTd0bEJzSU53TmhuT1psL2RPSDVmNEhVZVJZWFl5Qm1la1BHdzVZZmZEWjFyMXhjYVdDT1hBK1YzTnNFb29IL2Zya3BBQ3UzWWNZSzU5K3ZZaU90dTBzYXM4YjUzUnMwUWRYSEJ4ZXRZRnV2ZWt2aDVnV1RjTk9MUUlFWUpBdVNQY3dkZG1SQnpQc2FGVXl4VkxoZHc2VXd4YThOTXBGT0xqblhsamhzVlFEUEFaQjNaZ1UvRnZXek9QZEExTllCQVU4SEpXV1o5TkpEOWlrVTYrQTkrZ2xXc25DSnFid3JlQ2dFTy9ibnpneWZobTE4b2NjeUtnaGNwS3VqZ3FudC9tcVdpQlpaNE94cDlBY1U2NjdCeWogcm9vdEBpYm0tcDgta3ZtLTAzLWd1ZXN0LTAyLnZpcnQucG5yLmxhYi5lbmcucmR1Mi5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for "root"] ********************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:54:21 +0000 (0:00:00.418) 0:00:04.825 ******** ok: [/cache/centos-7.qcow2c.snap] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [linux-system-roles.kdump : Set authorized_keys file path] **************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:54:21 +0000 (0:00:00.515) 0:00:05.340 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 Wednesday 06 July 2022 00:54:21 +0000 (0:00:00.062) 0:00:05.403 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068750.122476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657068749.283476, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4200740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068749.283476, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "1987563479", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Get the authorized_keys contents, if any] ***** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 Wednesday 06 July 2022 00:54:22 +0000 (0:00:00.313) 0:00:05.717 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 Wednesday 06 July 2022 00:54:22 +0000 (0:00:00.324) 0:00:06.042 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "78a08f42bf1798fef9251f820464ee5f547f8221", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "2b60da310b2495d30fe514eec052b5bc", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 844, "src": "/root/.ansible/tmp/ansible-tmp-1657068862.4512973-31386-42423428440129/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 Wednesday 06 July 2022 00:54:23 +0000 (0:00:00.737) 0:00:06.779 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDcEFLMFJRZFp6dXZtbVJkRmN1anNneWVZSDJsbU1ZWEFLSVpYYjZIdE1WVVFLWEJweXMxQWZPRG8xcGFyalFCSmNOZEk5UkdMdE1Pdzl2ZGpMTzRqSHQwbGJuL0xNYUNSQTA2VnphS0w5L1d1cEJkdXRDNUJOYzNxa0ZDWVNnQ1NVYVpCYm5tOUJkSFc4cmdlYkJYNkFyMlJ5TGFsTWR3TkQwelRjaFNpQ2ZCVFRCK0RaSU9BTmdiZGlIZGtPRytKa05zYzYxeGFzVTdUcVU1R1hqNzdROGFxNWlsUzY1citBVk1wVjhkTlNiUTVVbkkvcGJDb2JxSTQ5U1FyeW9yZVZmWnU0Wm9sWUhyNUZGOE9YSGYxbUt6eitxa3Bvc1RGZlU0UlV5b2dIb0g3QW5xWDdxZmVMMmRVbjQ5UGJKQ1VWdHViZnNTR0FiV09CTVhmNXFTZUogCg==", "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: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 Wednesday 06 July 2022 00:54:23 +0000 (0:00:00.321) 0:00:07.101 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpAK0RQdZzuvmmRdFcujsgyeYH2lmMYXAKIZXb6HtMVUQKXBpys1AfODo1parjQBJcNdI9RGLtMOw9vdjLO4jHt0lbn/LMaCRA06VzaKL9/WupBdutC5BNc3qkFCYSgCSUaZBbnm9BdHW8rgebBX6Ar2RyLalMdwND0zTchSiCfBTTB+DZIOANgbdiHdkOG+JkNsc61xasU7TqU5GXj77Q8aq5ilS65r+AVMpV8dNSbQ5UnI/pbCobqI49SQryoreVfZu4ZolYHr5FF8OXHf1mKzz+qkposTFfU4RUyogHoH7AnqX7qfeL2dUn49PbJCUVtubfsSGAbWOBMXf5qSeJ \n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 392, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:54:23 +0000 (0:00:00.516) 0:00:07.618 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068821.3817458, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657068819.119746, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4217955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068818.7637458, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "18446744072146605103", "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: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:54:24 +0000 (0:00:00.308) 0:00:07.927 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "backup_file": "/etc/kdump.conf.11432.2022-07-06@00:54:24~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657068864.335878-31462-3083636790204/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:54:24 +0000 (0:00:00.661) 0:00:08.588 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068821.353746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52a6f922668cb30661bc1a29c73047d3f4c35abe", "ctime": 1657068819.9997458, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8417270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068819.7887459, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 119, "uid": 0, "version": "269254416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/sysconfig/kdump] **************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:54:25 +0000 (0:00:00.307) 0:00:08.896 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "52a6f922668cb30661bc1a29c73047d3f4c35abe", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 119, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:54:25 +0000 (0:00:00.612) 0:00:09.508 ******** ok: [/cache/centos-7.qcow2c.snap] => { "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: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.290) 0:00:09.798 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.039) 0:00:09.838 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "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: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.028) 0:00:09.867 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:73 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.028) 0:00:09.896 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Clear the kdump_reboot_required flag] ********* task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:79 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.027) 0:00:09.923 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.031) 0:00:09.954 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ActiveEnterTimestampMonotonic": "28538480", "ActiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ActiveExitTimestampMonotonic": "14873677", "ActiveState": "active", "After": "network-online.target network.target system.slice systemd-journald.socket remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:53:41 UTC", "AssertTimestampMonotonic": "14896186", "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": "Wed 2022-07-06 00:53:41 UTC", "ConditionTimestampMonotonic": "14896186", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ExecMainExitTimestampMonotonic": "28538120", "ExecMainPID": "2078", "ExecMainStartTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ExecMainStartTimestampMonotonic": "14896735", "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=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:55 UTC] ; pid=2078 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:41 UTC] ; pid=2070 ; 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": "Wed 2022-07-06 00:53:41 UTC", "InactiveEnterTimestampMonotonic": "14895086", "InactiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "InactiveExitTimestampMonotonic": "14897167", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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: role_complete for /cache/centos-7.qcow2c.snap RUNNING HANDLER [linux-system-roles.kdump : restart kdump] ********************* task path: /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:54:26 +0000 (0:00:00.372) 0:00:10.326 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ActiveEnterTimestampMonotonic": "28538480", "ActiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ActiveExitTimestampMonotonic": "14873677", "ActiveState": "active", "After": "network-online.target network.target system.slice systemd-journald.socket remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:53:41 UTC", "AssertTimestampMonotonic": "14896186", "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": "Wed 2022-07-06 00:53:41 UTC", "ConditionTimestampMonotonic": "14896186", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:53:55 UTC", "ExecMainExitTimestampMonotonic": "28538120", "ExecMainPID": "2078", "ExecMainStartTimestamp": "Wed 2022-07-06 00:53:41 UTC", "ExecMainStartTimestampMonotonic": "14896735", "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=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:55 UTC] ; pid=2078 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:53:41 UTC] ; stop_time=[Wed 2022-07-06 00:53:41 UTC] ; pid=2070 ; 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": "Wed 2022-07-06 00:53:41 UTC", "InactiveEnterTimestampMonotonic": "14895086", "InactiveExitTimestamp": "Wed 2022-07-06 00:53:41 UTC", "InactiveExitTimestampMonotonic": "14897167", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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 META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=25 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:54:44 +0000 (0:00:18.089) 0:00:28.416 ******** =============================================================================== linux-system-roles.kdump : restart kdump ------------------------------- 18.09s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 ----- Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmpnta0muep/tests/tests_ssh.yml:1 ---------------------------------------- linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.74s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 -------- gather facts from /cache/centos-7.qcow2c.snap --------------------------- 0.69s /tmp/tmpnta0muep/tests/tests_ssh.yml:59 --------------------------------------- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.66s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Install required packages -------------------- 0.64s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.61s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.59s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.52s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 -------- linux-system-roles.kdump : Get userinfo for "root" ---------------------- 0.52s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 -------- linux-system-roles.kdump : Create key ----------------------------------- 0.49s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 --------- linux-system-roles.kdump : Check whether key exists --------------------- 0.42s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 --------- linux-system-roles.kdump : Fetch key ------------------------------------ 0.42s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 -------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.39s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.37s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 ------- linux-system-roles.kdump : Get the authorized_keys contents, if any ----- 0.32s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 -------- linux-system-roles.kdump : Fetch the servers public key ----------------- 0.32s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 -------- linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.31s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 -------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.31s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.31s /tmp/tmpnta0muep/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpm087x4px executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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 /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:1 Wednesday 06 July 2022 00:56:13 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [gather facts from /cache/centos-7.qcow2c.snap] *************************** task path: /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:55 Wednesday 06 July 2022 00:56:15 +0000 (0:00:02.018) 0:00:02.031 ******** ok: [/cache/centos-7.qcow2c.snap] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:60 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.685) 0:00:02.716 ******** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:70 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.021) 0:00:02.738 ******** META: end_host conditional evaluated to false, continuing execution for /cache/centos-7.qcow2c.snap skipping: [/cache/centos-7.qcow2c.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-7.qcow2c.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-7.qcow2c.snap TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:81 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.017) 0:00:02.756 ******** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.043) 0:00:02.799 ******** included: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.029) 0:00:02.829 ******** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:56:16 +0000 (0:00:00.404) 0:00:03.233 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:56:17 +0000 (0:00:00.660) 0:00:03.894 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ActiveEnterTimestampMonotonic": "28651585", "ActiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ActiveExitTimestampMonotonic": "14956216", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket system.slice remote-fs.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:55:38 UTC", "AssertTimestampMonotonic": "14976847", "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": "Wed 2022-07-06 00:55:38 UTC", "ConditionTimestampMonotonic": "14976847", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ExecMainExitTimestampMonotonic": "28650732", "ExecMainPID": "2080", "ExecMainStartTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ExecMainStartTimestampMonotonic": "14977400", "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=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:52 UTC] ; pid=2080 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:38 UTC] ; pid=2071 ; 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": "Wed 2022-07-06 00:55:38 UTC", "InactiveEnterTimestampMonotonic": "14976240", "InactiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "InactiveExitTimestampMonotonic": "14977430", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:56:17 +0000 (0:00:00.614) 0:00:04.509 ******** included: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.kdump : Check whether key exists] ************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:56:17 +0000 (0:00:00.088) 0:00:04.597 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Create key] **************************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:56:18 +0000 (0:00:00.414) 0:00:05.012 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.051549", "end": "2022-07-06 00:56:18.621076", "rc": 0, "start": "2022-07-06 00:56:18.569527" } 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:ylNP5iw10siLSL6ekHUITgP/OTdMI+HK9ltT6Ptk6hY root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 2048]----+ |. . | | o . . | | = o o | | + = * + o | | = B * S * | | . * BE* X . | | o + O.= + | | . =.B . | | .=o+.. | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:56:18 +0000 (0:00:00.461) 0:00:05.473 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDNEdQYlJWVm9oK2tqWUV2ZXNjUXVIUWFPcUdVNE1XakpkNXBLWjZmUVU1YUl0MCtOY2k4QU9BelRmT202a291bnZURHd2NU1wWmx3UlIzUjl0dzl5b2NkSGZKMEsxeXoyckJDUVd0VGhSclFpNUFxQWgzUUtLSWcwRlBkZ3l0V2JNeFJrbmtDakprM0U4NllXaUdmRmJkL1FKVkFzaG1ZN2x5Vlpvc1M0Vjlzc0ZLSzBWOFBVSmtWcThveHJEWXZ1aXBIdGxnMVA0dEpUZ1ByUzY2UldRT1duaHlBbHE5bGZzZUcwalVodTZSTlpVcWJ5Z0E0NUlXcU5RY1RTempOeDl3ZWRRVTJCb3VhNmd6YVRCTzg3Vzl6aWtNU0xjTTg4MldWS2gwU3Fhd0hmbVREWVhQZFNST28zcS9idVdoSmUxQnpleHNwMy9EckMra0N0Ym5NVjcgcm9vdEBpYm0tcDgta3ZtLTAzLWd1ZXN0LTAyLnZpcnQucG5yLmxhYi5lbmcucmR1Mi5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for "root"] *************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:56:19 +0000 (0:00:00.418) 0:00:05.892 ******** ok: [/cache/centos-7.qcow2c.snap] => { "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 : Set authorized_keys file path] ********* task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:56:19 +0000 (0:00:00.514) 0:00:06.407 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 Wednesday 06 July 2022 00:56:19 +0000 (0:00:00.046) 0:00:06.454 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068750.122476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657068749.283476, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4200740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068749.283476, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "1987563479", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 Wednesday 06 July 2022 00:56:20 +0000 (0:00:00.329) 0:00:06.784 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 Wednesday 06 July 2022 00:56:20 +0000 (0:00:00.334) 0:00:07.119 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "ec44c7bf9670d6f64413ebf4ea5e10bcfac3a375", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "2286458e1e8705f945936672c95d6aad", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 844, "src": "/root/.ansible/tmp/ansible-tmp-1657068980.6065044-33939-157904265691444/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 Wednesday 06 July 2022 00:56:21 +0000 (0:00:00.721) 0:00:07.840 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDcEFLMFJRZFp6dXZtbVJkRmN1anNneWVZSDJsbU1ZWEFLSVpYYjZIdE1WVVFLWEJweXMxQWZPRG8xcGFyalFCSmNOZEk5UkdMdE1Pdzl2ZGpMTzRqSHQwbGJuL0xNYUNSQTA2VnphS0w5L1d1cEJkdXRDNUJOYzNxa0ZDWVNnQ1NVYVpCYm5tOUJkSFc4cmdlYkJYNkFyMlJ5TGFsTWR3TkQwelRjaFNpQ2ZCVFRCK0RaSU9BTmdiZGlIZGtPRytKa05zYzYxeGFzVTdUcVU1R1hqNzdROGFxNWlsUzY1citBVk1wVjhkTlNiUTVVbkkvcGJDb2JxSTQ5U1FyeW9yZVZmWnU0Wm9sWUhyNUZGOE9YSGYxbUt6eitxa3Bvc1RGZlU0UlV5b2dIb0g3QW5xWDdxZmVMMmRVbjQ5UGJKQ1VWdHViZnNTR0FiV09CTVhmNXFTZUogCg==", "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: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 Wednesday 06 July 2022 00:56:21 +0000 (0:00:00.301) 0:00:08.141 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpAK0RQdZzuvmmRdFcujsgyeYH2lmMYXAKIZXb6HtMVUQKXBpys1AfODo1parjQBJcNdI9RGLtMOw9vdjLO4jHt0lbn/LMaCRA06VzaKL9/WupBdutC5BNc3qkFCYSgCSUaZBbnm9BdHW8rgebBX6Ar2RyLalMdwND0zTchSiCfBTTB+DZIOANgbdiHdkOG+JkNsc61xasU7TqU5GXj77Q8aq5ilS65r+AVMpV8dNSbQ5UnI/pbCobqI49SQryoreVfZu4ZolYHr5FF8OXHf1mKzz+qkposTFfU4RUyogHoH7AnqX7qfeL2dUn49PbJCUVtubfsSGAbWOBMXf5qSeJ \n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 392, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:56:22 +0000 (0:00:00.521) 0:00:08.662 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068938.470589, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657068936.0975888, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4217956, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068935.753589, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "1360474948", "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: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:56:22 +0000 (0:00:00.299) 0:00:08.962 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "backup_file": "/etc/kdump.conf.11434.2022-07-06@00:56:22~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657068982.4184153-34015-20601534824199/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:56:22 +0000 (0:00:00.640) 0:00:09.602 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657068938.444589, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52a6f922668cb30661bc1a29c73047d3f4c35abe", "ctime": 1657068936.9895887, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8417270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068936.779589, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 119, "uid": 0, "version": "18446744073448379604", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump] ********* task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:56:23 +0000 (0:00:00.312) 0:00:09.914 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "52a6f922668cb30661bc1a29c73047d3f4c35abe", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 119, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:56:23 +0000 (0:00:00.661) 0:00:10.576 ******** ok: [/cache/centos-7.qcow2c.snap] => { "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: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.303) 0:00:10.879 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.047) 0:00:10.927 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "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: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.032) 0:00:10.960 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:71 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.033) 0:00:10.993 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:77 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.029) 0:00:11.023 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.027) 0:00:11.051 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ActiveEnterTimestampMonotonic": "28651585", "ActiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ActiveExitTimestampMonotonic": "14956216", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket system.slice remote-fs.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:55:38 UTC", "AssertTimestampMonotonic": "14976847", "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": "Wed 2022-07-06 00:55:38 UTC", "ConditionTimestampMonotonic": "14976847", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ExecMainExitTimestampMonotonic": "28650732", "ExecMainPID": "2080", "ExecMainStartTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ExecMainStartTimestampMonotonic": "14977400", "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=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:52 UTC] ; pid=2080 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:38 UTC] ; pid=2071 ; 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": "Wed 2022-07-06 00:55:38 UTC", "InactiveEnterTimestampMonotonic": "14976240", "InactiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "InactiveExitTimestampMonotonic": "14977430", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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: role_complete for /cache/centos-7.qcow2c.snap RUNNING HANDLER [fedora.linux_system_roles.kdump : restart kdump] ************** task path: /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:56:24 +0000 (0:00:00.385) 0:00:11.437 ******** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ActiveEnterTimestampMonotonic": "28651585", "ActiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ActiveExitTimestampMonotonic": "14956216", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket system.slice remote-fs.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 00:55:38 UTC", "AssertTimestampMonotonic": "14976847", "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": "Wed 2022-07-06 00:55:38 UTC", "ConditionTimestampMonotonic": "14976847", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-07-06 00:55:52 UTC", "ExecMainExitTimestampMonotonic": "28650732", "ExecMainPID": "2080", "ExecMainStartTimestamp": "Wed 2022-07-06 00:55:38 UTC", "ExecMainStartTimestampMonotonic": "14977400", "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=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:52 UTC] ; pid=2080 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Wed 2022-07-06 00:55:38 UTC] ; stop_time=[Wed 2022-07-06 00:55:38 UTC] ; pid=2071 ; 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": "Wed 2022-07-06 00:55:38 UTC", "InactiveEnterTimestampMonotonic": "14976240", "InactiveExitTimestamp": "Wed 2022-07-06 00:55:38 UTC", "InactiveExitTimestampMonotonic": "14977430", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "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 META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=25 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:56:43 +0000 (0:00:18.208) 0:00:29.645 ******** =============================================================================== fedora.linux_system_roles.kdump : restart kdump ------------------------ 18.21s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 2.02s /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:1 ---------------------------------- fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.72s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 gather facts from /cache/centos-7.qcow2c.snap --------------------------- 0.69s /tmp/tmp93ztdekd/tests/kdump/tests_ssh.yml:55 --------------------------------- fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.66s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Install required packages ------------- 0.66s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.64s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.61s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.52s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 fedora.linux_system_roles.kdump : Get userinfo for "root" --------------- 0.51s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 fedora.linux_system_roles.kdump : Create key ---------------------------- 0.46s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.42s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 fedora.linux_system_roles.kdump : Check whether key exists -------------- 0.41s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.40s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.39s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any --- 0.33s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.33s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.31s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.30s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.30s /tmp/tmpm087x4px/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54