# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-cimo8avg4v/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /WORKDIR/git-weekly-cimo8avg4v/tests/tests_default.yml:10 Saturday 06 July 2024 09:42:57 +0000 (0:00:00.013) 0:00:00.013 ********* TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Saturday 06 July 2024 09:42:57 +0000 (0:00:00.048) 0:00:00.062 ********* included: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for sut TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Saturday 06 July 2024 09:42:57 +0000 (0:00:00.010) 0:00:00.072 ********* ok: [sut] TASK [linux-system-roles.kdump : Check if system is ostree] ******************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 Saturday 06 July 2024 09:42:58 +0000 (0:00:00.599) 0:00:00.672 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Set flag to indicate system is ostree] ******** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 Saturday 06 July 2024 09:42:58 +0000 (0:00:00.253) 0:00:00.925 ********* ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [linux-system-roles.kdump : Set platform/version specific variables] ****** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:20 Saturday 06 July 2024 09:42:58 +0000 (0:00:00.019) 0:00:00.944 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Saturday 06 July 2024 09:42:58 +0000 (0:00:00.027) 0:00:00.972 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Saturday 06 July 2024 09:43:01 +0000 (0:00:02.822) 0:00:03.794 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ActiveEnterTimestampMonotonic": "47246471", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target remote-fs.target systemd-journald.socket basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 09:24:45 UTC", "AssertTimestampMonotonic": "26591560", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ConditionTimestampMonotonic": "26591542", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ExecMainExitTimestampMonotonic": "47246029", "ExecMainPID": "1035", "ExecMainStartTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ExecMainStartTimestampMonotonic": "26592346", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 09:24:45 UTC] ; stop_time=[Sat 2024-07-06 09:25:06 UTC] ; pid=1035 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 09:24:45 UTC", "InactiveExitTimestampMonotonic": "26592385", "InvocationID": "0a76cbe7bdda4502acd0b133d706bb61", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-06 09:25:06 UTC", "StateChangeTimestampMonotonic": "47246471", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22406", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 Saturday 06 July 2024 09:43:02 +0000 (0:00:00.772) 0:00:04.566 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Saturday 06 July 2024 09:43:02 +0000 (0:00:00.017) 0:00:04.584 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720257885.6738975, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "8ee23509e24173d1d8d601431a180a75bf2b6f3b", "ctime": 1716968741.697, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 918178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968741.697, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8550, "uid": 0, "version": "537667763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/kdump.conf] ********************* task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 Saturday 06 July 2024 09:43:02 +0000 (0:00:00.191) 0:00:04.776 ********* NOTIFIED HANDLER linux-system-roles.kdump : Restart kdump for sut changed: [sut] => { "backup_file": "/etc/kdump.conf.10275.2024-07-06@09:43:02~", "changed": true, "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "83ef851c050de649b64f945168d63384", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 77, "src": "/root/.ansible/tmp/ansible-tmp-1720258982.286751-3203-90495478534271/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Saturday 06 July 2024 09:43:02 +0000 (0:00:00.599) 0:00:05.375 ********* ok: [sut] => { "attempts": 1, "changed": false, "content": "MjAxMzI2NTkyCg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.250) 0:00:05.625 ********* 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-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.018) 0:00:05.643 ********* 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-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.015) 0:00:05.659 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.015) 0:00:05.675 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:70 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.016) 0:00:05.691 ********* 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-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:76 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.016) 0:00:05.708 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.016) 0:00:05.725 ********* ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ActiveEnterTimestampMonotonic": "47246471", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target remote-fs.target systemd-journald.socket basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 09:24:45 UTC", "AssertTimestampMonotonic": "26591560", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ConditionTimestampMonotonic": "26591542", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ExecMainExitTimestampMonotonic": "47246029", "ExecMainPID": "1035", "ExecMainStartTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ExecMainStartTimestampMonotonic": "26592346", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 09:24:45 UTC] ; stop_time=[Sat 2024-07-06 09:25:06 UTC] ; pid=1035 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 09:24:45 UTC", "InactiveExitTimestampMonotonic": "26592385", "InvocationID": "0a76cbe7bdda4502acd0b133d706bb61", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-06 09:25:06 UTC", "StateChangeTimestampMonotonic": "47246471", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22406", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [linux-system-roles.kdump : Restart kdump] ********************* task path: /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Saturday 06 July 2024 09:43:03 +0000 (0:00:00.618) 0:00:06.343 ********* changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ActiveEnterTimestampMonotonic": "47246471", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target remote-fs.target systemd-journald.socket basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 09:24:45 UTC", "AssertTimestampMonotonic": "26591560", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ConditionTimestampMonotonic": "26591542", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-06 09:25:06 UTC", "ExecMainExitTimestampMonotonic": "47246029", "ExecMainPID": "1035", "ExecMainStartTimestamp": "Sat 2024-07-06 09:24:45 UTC", "ExecMainStartTimestampMonotonic": "26592346", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-06 09:24:45 UTC] ; stop_time=[Sat 2024-07-06 09:25:06 UTC] ; pid=1035 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-06 09:24:45 UTC", "InactiveExitTimestampMonotonic": "26592385", "InvocationID": "0a76cbe7bdda4502acd0b133d706bb61", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-06 09:25:06 UTC", "StateChangeTimestampMonotonic": "47246471", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22406", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=12 changed=2 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Saturday 06 July 2024 09:43:19 +0000 (0:00:16.099) 0:00:22.443 ********* =============================================================================== linux-system-roles.kdump : Restart kdump ------------------------------- 16.10s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 linux-system-roles.kdump : Install required packages -------------------- 2.82s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.77s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.62s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.60s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.60s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 linux-system-roles.kdump : Check if system is ostree -------------------- 0.25s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.25s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.19s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Run the role. If reboot is not required - the play succeeds. ------------ 0.05s /WORKDIR/git-weekly-cimo8avg4v/tests/tests_default.yml:10 --------------------- linux-system-roles.kdump : Set platform/version specific variables ------ 0.03s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:20 linux-system-roles.kdump : Set flag to indicate system is ostree -------- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 linux-system-roles.kdump : Set the kdump_reboot_required fact ----------- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 linux-system-roles.kdump : Include SSH tasks ---------------------------- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 linux-system-roles.kdump : Clear the kdump_reboot_required flag --------- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:76 linux-system-roles.kdump : Reboot the managed node ---------------------- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:70 linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 linux-system-roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed ----- 0.02s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.01s /WORKDIR/git-weekly-cimo8avg4v/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---