# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ssh.yml ******************************************************** 1 plays in /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:2 Tuesday 18 June 2024 16:51:00 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] META: ran handlers TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:59 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.618) 0:00:00.630 ********** ok: [sut -> sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:64 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.344) 0:00:00.975 ********** skipping: [sut] => {} META: end_host conditional evaluated to false, continuing execution for sut TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:85 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.014) 0:00:00.989 ********** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.040) 0:00:01.029 ********** included: /WORKDIR/git-el10fgsg39jz/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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.012) 0:00:01.041 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Check if system is ostree] ******************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 Tuesday 18 June 2024 16:51:01 +0000 (0:00:00.009) 0:00:01.050 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kdump : Set flag to indicate system is ostree] ******** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:16 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.173) 0:00:01.224 ********** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [linux-system-roles.kdump : Set platform/version specific variables] ****** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:20 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.011) 0:00:01.236 ********** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.039) 0:00:01.275 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.388) 0:00:01.663 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ActiveEnterTimestampMonotonic": "2491450308", "ActiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ActiveExitTimestampMonotonic": "2472447323", "ActiveState": "active", "After": "system.slice remote-fs.target network.target systemd-journald.socket network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-06-18 16:50:38 UTC", "AssertTimestampMonotonic": "2472484283", "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": "Tue 2024-06-18 16:50:38 UTC", "ConditionTimestampMonotonic": "2472484281", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ExecMainExitTimestampMonotonic": "2491449921", "ExecMainPID": "12381", "ExecMainStartTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ExecMainStartTimestampMonotonic": "2472484805", "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=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:57 UTC] ; pid=12381 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:38 UTC] ; pid=12373 ; 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": "Tue 2024-06-18 16:50:38 UTC", "InactiveEnterTimestampMonotonic": "2472483340", "InactiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "InactiveExitTimestampMonotonic": "2472485141", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:17 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.313) 0:00:01.977 ********** included: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml for sut TASK [linux-system-roles.kdump : Create key if it does not exist] ************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Tuesday 18 June 2024 16:51:02 +0000 (0:00:00.027) 0:00:02.005 ********** changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.059993", "end": "2024-06-18 16:51:03.029921", "rc": 0, "start": "2024-06-18 16:51:02.969928" } 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:t46GbAIvZhV3uceEK1MKas4XCdmCA4h2xjoPOPeKHMs root@9eff4b7c-09e2-4df0-997b-033ab66e33c7.testing-farm The key's randomart image is: +---[RSA 2048]----+ |o . | |+. + | |+.+o o | |=+= + . = . | | ++= = +S=. | | .+.= + o.o. | |o=o= o + .. | |.EB + + .o | | o o o .. . | +----[SHA256]-----+ TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 Tuesday 18 June 2024 16:51:03 +0000 (0:00:00.219) 0:00:02.224 ********** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZjRCYlBwMEUrbXRBVk93dXhTcjAwTC9ReGRyNU9mc25YZElBU1J3ek92M3Y2dXJqV2paakFwbmtJamJQU29WWGIzQ3o2RTZIdTByUy96WkdFcWFWTmtkaTM3RVpHaWlYWVdyeXZlWEE0aytOc3FSRkhaVlUwOGx5aGdHSVFUSmdVVXpwYU9mYVFoeGtKbEpqNldFVXpVbkorcWdLTE1PdXRPaUJ1b1NNLzNxekd6Q1hoRE85Y1JZeE1pN3pENUVNRVBoRjRlVG9XSFFQNERnM3k2eHpZREhIeFZ2Y29BaVpCZ0JvMkpXTU1VSGpZQ1ZjUFBVYXVYOEx5TjFkWXF4OU5HN0hsWnpqd3RaOHhsTzBKN2lmb3JIUzVDM2RIUnRXNUxCYTZZdjAyQ1hPM3J3aVhCWjJGazVNMVFJWUhNVFlvbnA2WDh6dGRxa3R0d3RCQndLOU4gcm9vdEA5ZWZmNGI3Yy0wOWUyLTRkZjAtOTk3Yi0wMzNhYjY2ZTMzYzcudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for root] ************************ task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 Tuesday 18 June 2024 16:51:03 +0000 (0:00:00.164) 0:00:02.389 ********** ok: [sut -> sut] => { "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 : Get the ssh directory for the user] *********** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 Tuesday 18 June 2024 16:51:03 +0000 (0:00:00.361) 0:00:02.750 ********** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1718726990.9867294, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1718729463.029105, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 20, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1718729463.029105, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "1123686322", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 Tuesday 18 June 2024 16:51:03 +0000 (0:00:00.124) 0:00:02.875 ********** ok: [sut -> sut] => { "changed": false, "stat": { "atime": 1718727928.0978475, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1718726990.9857295, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1718726990.9857295, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "18446744072511090528", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 Tuesday 18 June 2024 16:51:03 +0000 (0:00:00.132) 0:00:03.008 ********** ok: [sut -> sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ssh", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 Tuesday 18 June 2024 16:51:04 +0000 (0:00:00.203) 0:00:03.211 ********** changed: [sut -> sut] => { "backup": "", "changed": true } MSG: line added TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 Tuesday 18 June 2024 16:51:04 +0000 (0:00:00.198) 0:00:03.410 ********** ok: [sut -> sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDcmlwaXg5R21TdXpENnRSU24rd0x4TTJrNnFqd1BjTEFLbzhwTWJaejVsbTlJYllRT09pbHVsMVEwYTE3MFJ6Nm1EYmt3V3RLSTh2SGtkaCsyVXlKaFQ5WjV4ZHFaV2YzUmcwOEY3NDBNcjA5YVZ2bzZuZnVJZ3A4OU5TZnNJeCsvL3B0Wm1wYzNNNGQyZjFseEp6dlQxNTRoQ0xIQ1JnWEZXck10elZhUHRHSkNCcDZSUDZoWmQ5REtJOEU0Qm05Q3luSEtIZ2JMdzFlNytUeHFSN1loeCtuYStmakdDRW9MNzhVbUpEaWtRNTRRNW9RNFVDZWlCWER4WEIxbWl1cndlTExwaXpuMFh0WUhDdFlydXZNMm5PK1VoNENIRjEranBmWHZZQVlOVUowc3JjWWVCcVRZV1dUOWxvaHdnMXhRNFhlMENjRFdwWHJGYjRqeThLTi8gCg==", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [linux-system-roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 Tuesday 18 June 2024 16:51:04 +0000 (0:00:00.111) 0:00:03.521 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.14.153 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCripix9GmSuzD6tRSn+wLxM2k6qjwPcLAKo8pMbZz5lm9IbYQOOilul1Q0a170Rz6mDbkwWtKI8vHkdh+2UyJhT9Z5xdqZWf3Rg08F740Mr09aVvo6nfuIgp89NSfsIx+//ptZmpc3M4d2f1lxJzvT154hCLHCRgXFWrMtzVaPtGJCBp6RP6hZd9DKI8E4Bm9CynHKHgbLw1e7+TxqR7Yhx+na+fjGCEoL78UmJDikQ54Q5oQ4UCeiBXDxXB1miurweLLpizn0XtYHCtYruvM2nO+Uh4CHF1+jpfXvYAYNUJ0srcYeBqTYWWT9lohwg1xQ4Xe0CcDWpXrFb4jy8KN/ \n", "mode": "0644", "name": "10.31.14.153", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Tuesday 18 June 2024 16:51:04 +0000 (0:00:00.214) 0:00:03.736 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1718729438.8308935, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "ctime": 1718729437.740884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 655458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718729437.5518823, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 77, "uid": 0, "version": "1361442287", "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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 Tuesday 18 June 2024 16:51:04 +0000 (0:00:00.122) 0:00:03.858 ********** NOTIFIED HANDLER linux-system-roles.kdump : Restart kdump for sut changed: [sut] => { "backup_file": "/etc/kdump.conf.19191.2024-06-18@16:51:05~", "changed": true, "checksum": "3e218c249bdb178eff5b09360a97f5c73adb7fc8", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "a142a2ec30255691c24830cd41cc44d4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 104, "src": "/root/.ansible/tmp/ansible-tmp-1718729464.70684-2489-202182843039569/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.448) 0:00:04.307 ********** ok: [sut] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:41 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.113) 0:00:04.420 ********** 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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.009) 0:00:04.429 ********** 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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:56 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.008) 0:00:04.438 ********** 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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:61 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.008) 0:00:04.446 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:70 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.008) 0:00:04.455 ********** 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-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:76 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.008) 0:00:04.463 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.008) 0:00:04.471 ********** ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ActiveEnterTimestampMonotonic": "2491450308", "ActiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ActiveExitTimestampMonotonic": "2472447323", "ActiveState": "active", "After": "system.slice remote-fs.target network.target systemd-journald.socket network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-06-18 16:50:38 UTC", "AssertTimestampMonotonic": "2472484283", "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": "Tue 2024-06-18 16:50:38 UTC", "ConditionTimestampMonotonic": "2472484281", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ExecMainExitTimestampMonotonic": "2491449921", "ExecMainPID": "12381", "ExecMainStartTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ExecMainStartTimestampMonotonic": "2472484805", "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=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:57 UTC] ; pid=12381 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:38 UTC] ; pid=12373 ; 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": "Tue 2024-06-18 16:50:38 UTC", "InactiveEnterTimestampMonotonic": "2472483340", "InactiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "InactiveExitTimestampMonotonic": "2472485141", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Cleanup kdump_path] ****************************************************** task path: /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:97 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.180) 0:00:04.652 ********** ok: [sut -> sut] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } RUNNING HANDLER [linux-system-roles.kdump : Restart kdump] ********************* task path: /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Tuesday 18 June 2024 16:51:05 +0000 (0:00:00.118) 0:00:04.771 ********** changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ActiveEnterTimestampMonotonic": "2491450308", "ActiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ActiveExitTimestampMonotonic": "2472447323", "ActiveState": "active", "After": "system.slice remote-fs.target network.target systemd-journald.socket network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-06-18 16:50:38 UTC", "AssertTimestampMonotonic": "2472484283", "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": "Tue 2024-06-18 16:50:38 UTC", "ConditionTimestampMonotonic": "2472484281", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-06-18 16:50:57 UTC", "ExecMainExitTimestampMonotonic": "2491449921", "ExecMainPID": "12381", "ExecMainStartTimestamp": "Tue 2024-06-18 16:50:38 UTC", "ExecMainStartTimestampMonotonic": "2472484805", "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=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:57 UTC] ; pid=12381 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2024-06-18 16:50:38 UTC] ; stop_time=[Tue 2024-06-18 16:50:38 UTC] ; pid=12373 ; 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": "Tue 2024-06-18 16:50:38 UTC", "InactiveEnterTimestampMonotonic": "2472483340", "InactiveExitTimestamp": "Tue 2024-06-18 16:50:38 UTC", "InactiveExitTimestampMonotonic": "2472485141", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Tuesday 18 June 2024 16:51:25 +0000 (0:00:19.714) 0:00:24.486 ********** =============================================================================== linux-system-roles.kdump : Restart kdump ------------------------------- 19.71s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:2 ------------------------------- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.45s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:27 linux-system-roles.kdump : Install required packages -------------------- 0.39s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 linux-system-roles.kdump : Get userinfo for root ------------------------ 0.36s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:20 Gather facts from sut --------------------------------------------------- 0.34s /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:59 ------------------------------ linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.31s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:12 linux-system-roles.kdump : Create key if it does not exist -------------- 0.22s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.21s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:66 linux-system-roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.20s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:36 linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.20s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:47 linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.18s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:86 linux-system-roles.kdump : Check if system is ostree -------------------- 0.17s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:11 linux-system-roles.kdump : Fetch key ------------------------------------ 0.16s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:7 linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.13s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:31 linux-system-roles.kdump : Get the ssh directory for the user ----------- 0.12s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:26 linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.12s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:22 Cleanup kdump_path ------------------------------------------------------ 0.12s /WORKDIR/git-el10fgsg39jz/tests/tests_ssh.yml:97 ------------------------------ linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.11s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/main.yml:35 linux-system-roles.kdump : Fetch the servers public key ----------------- 0.11s /WORKDIR/git-el10fgsg39jz/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:60 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---