# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cibwjplafr/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ssh.yml ******************************************************** 1 plays in /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:2 Saturday 18 May 2024 07:50:59 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] TASK [Gather facts from sut] *************************************************** task path: /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:56 Saturday 18 May 2024 07:51:00 +0000 (0:00:00.754) 0:00:00.766 ********** ok: [sut] TASK [Print message that this test is skipped on EL 6] ************************* task path: /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:61 Saturday 18 May 2024 07:51:05 +0000 (0:00:05.618) 0:00:06.385 ********** skipping: [sut] => { "false_condition": "ansible_distribution_major_version == '6'" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:71 Saturday 18 May 2024 07:51:05 +0000 (0:00:00.009) 0:00:06.394 ********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:82 Saturday 18 May 2024 07:51:05 +0000 (0:00:00.004) 0:00:06.399 ********** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 18 May 2024 07:51:05 +0000 (0:00:00.021) 0:00:06.420 ********** included: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 18 May 2024 07:51:05 +0000 (0:00:00.013) 0:00:06.434 ********** skipping: [sut] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 18 May 2024 07:51:05 +0000 (0:00:00.021) 0:00:06.455 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 18 May 2024 07:51:06 +0000 (0:00:00.185) 0:00:06.641 ********** ok: [sut] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 18 May 2024 07:51:06 +0000 (0:00:00.014) 0:00:06.656 ********** 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" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 18 May 2024 07:51:06 +0000 (0:00:00.434) 0:00:07.090 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ActiveEnterTimestampMonotonic": "1342190955", "ActiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ActiveExitTimestampMonotonic": "1340702338", "ActiveState": "active", "After": "basic.target network-online.target network.target system.slice remote-fs.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-05-18 07:50:52 UTC", "AssertTimestampMonotonic": "1340719660", "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": "Sat 2024-05-18 07:50:52 UTC", "ConditionTimestampMonotonic": "1340719659", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ExecMainExitTimestampMonotonic": "1342190535", "ExecMainPID": "18842", "ExecMainStartTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ExecMainStartTimestampMonotonic": "1340720207", "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-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:54 UTC] ; pid=18842 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:52 UTC] ; pid=18834 ; 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": "Sat 2024-05-18 07:50:52 UTC", "InactiveEnterTimestampMonotonic": "1340718852", "InactiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "InactiveExitTimestampMonotonic": "1340720815", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 18 May 2024 07:51:06 +0000 (0:00:00.371) 0:00:07.462 ********** included: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for sut TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 18 May 2024 07:51:06 +0000 (0:00:00.038) 0:00:07.501 ********** changed: [sut] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.116497", "end": "2024-05-18 07:51:07.209185", "rc": 0, "start": "2024-05-18 07:51:07.092688" } 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:ut+nGruCUQ6MKHTaeSSvqg4VRrFghsNI7rTmOOKPBeQ root@d98b916f-7318-4c18-816c-7573fb3d6ba0.testing-farm The key's randomart image is: +---[RSA 2048]----+ |*+o. | |B= + . | |.*Bo= | |Boo+oo. | |.E. o+ S | |+.... .. | |=... o. . | |+oo . .. + . | |++.. .o=ooo | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 18 May 2024 07:51:07 +0000 (0:00:00.301) 0:00:07.802 ********** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDemZoK1JzYW92Ymw2dGJEYnRkbmhLZWtZYXJBNDAvelJwNHRCWHh0RXJPck9MR2svVkVLazVZY2lFcVNabFpoV09OSVRFMUxpazVGK3hMY0VaYVEzbnVUS015WFFaRnIrNy9UYWFZd0tRWUVEbGRkbzduZHUzd3pJMEVUZm1ablN6NUtVSXZkOGgwZnIzTGRPQ0dBdFg3UVRCam9pbThZOXlHRlp3dlF3QlJ0VW9Zd1d3YjRJR01kbys4Z1ZIRmlGaTNQVkpYR0tvYkl0dVJOLzErdVhhRTF5Q2VzVmcvQkhMRTk5OTV1d1N3STMvcll6NllIcWtIdDNlNmtkVm0reTlVMDc1bCtKY0NyMXgvWkRpZXorZ0tBaERNL3RlN01NMldpb1A4SlNtdnNIV2M5bEcvNDQzalNDM1JxZGVHN1B1RTZ4YXp6THN4a1ZGbjU0WWR3UW4gcm9vdEBkOThiOTE2Zi03MzE4LTRjMTgtODE2Yy03NTczZmIzZDZiYTAudGVzdGluZy1mYXJtCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 18 May 2024 07:51:07 +0000 (0:00:00.177) 0:00:07.980 ********** ok: [sut] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 18 May 2024 07:51:07 +0000 (0:00:00.304) 0:00:08.284 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716017327.1368318, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1716018667.2070553, "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": 1716018667.2070553, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "18446744073223510304", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 18 May 2024 07:51:07 +0000 (0:00:00.131) 0:00:08.416 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716017482.5515106, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1716017327.1368318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716017327.1368318, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "18446744072034164985", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 18 May 2024 07:51:07 +0000 (0:00:00.136) 0:00:08.553 ********** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ssh", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 18 May 2024 07:51:08 +0000 (0:00:00.211) 0:00:08.765 ********** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 18 May 2024 07:51:08 +0000 (0:00:00.206) 0:00:08.971 ********** ok: [sut] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDK0VXU1o5Vlo3MHh3VzdhUk5Ya2t2dlRpeGxVcUlRRnUxTnM3cVpnSzY2YUkzcWhWQWJ4V2l3M2hnTlBNWFZTdWtENlJuRTBzbFcrOC94MlFQdkhQaWVjTjRhYzFxWjdFRjlCa0haNUxtZnZBeDE0UHd1Rm5SNXhBOEdvbkhzN1pvcXZGZnZ0dUJLTzhDYjlhOUZNbllxaHdVQ09OL1NxWXRuYU5nOG1wRGtVRk5ldC9tREsxSGZsdnhPRDhpa0pzaTZmZ3dkL3dDMmhpNVVBVzNaZmw3TEUxZ2Y2YjJ6czdqdmwwVldxd016QXkrV1V0UzRseWdLekRSeVVCdmQyVHRnajRQNDhMMWJUNFlucFM2SktJQVNLd0YvQXd4ZEdnTGNMZHlCY1JuUzJRMW1id2NWblgyLzFmTHVybUZvYnNYWlNlL0FhWm56VU56dkJYUy9uemwgCg==", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 18 May 2024 07:51:08 +0000 (0:00:00.120) 0:00:09.091 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.10.115 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+EWSZ9VZ70xwW7aRNXkkvvTixlUqIQFu1Ns7qZgK66aI3qhVAbxWiw3hgNPMXVSukD6RnE0slW+8/x2QPvHPiecN4ac1qZ7EF9BkHZ5LmfvAx14PwuFnR5xA8GonHs7ZoqvFfvtuBKO8Cb9a9FMnYqhwUCON/SqYtnaNg8mpDkUFNet/mDK1HflvxOD8ikJsi6fgwd/wC2hi5UAW3Zfl7LE1gf6b2zs7jvl0VWqwMzAy+WUtS4lygKzDRyUBvd2Ttgj4P48L1bT4YnpS6JKIASKwF/AwxdGgLcLdyBcRnS2Q1mbwcVnX2/1fLurmFobsXZSe/AaZnzUNzvBXS/nzl \n", "mode": "0644", "name": "10.31.10.115", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 18 May 2024 07:51:08 +0000 (0:00:00.224) 0:00:09.315 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716018652.2830148, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1716018651.7050133, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716018651.5700128, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "18446744072569735922", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 18 May 2024 07:51:08 +0000 (0:00:00.132) 0:00:09.447 ********** Notification for handler Restart kdump has been saved. changed: [sut] => { "backup_file": "/etc/kdump.conf.19997.2024-05-18@07:51:09~", "changed": true, "checksum": "d6324121a532ea1856a39a0c4bed58440b099df1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "145d0eda7e1e04aa454301cabe97ca9d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 104, "src": "/root/.ansible/tmp/ansible-tmp-1716018668.9055996-2428-42530437040389/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.461) 0:00:09.909 ********** ok: [sut] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.118) 0:00:10.028 ********** ok: [sut] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.019) 0:00:10.047 ********** skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.015) 0:00:10.062 ********** skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.015) 0:00:10.078 ********** skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.015) 0:00:10.094 ********** skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.015) 0:00:10.109 ********** skipping: [sut] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.015) 0:00:10.125 ********** ok: [sut] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ActiveEnterTimestampMonotonic": "1342190955", "ActiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ActiveExitTimestampMonotonic": "1340702338", "ActiveState": "active", "After": "basic.target network-online.target network.target system.slice remote-fs.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-05-18 07:50:52 UTC", "AssertTimestampMonotonic": "1340719660", "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": "Sat 2024-05-18 07:50:52 UTC", "ConditionTimestampMonotonic": "1340719659", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ExecMainExitTimestampMonotonic": "1342190535", "ExecMainPID": "18842", "ExecMainStartTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ExecMainStartTimestampMonotonic": "1340720207", "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-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:54 UTC] ; pid=18842 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:52 UTC] ; pid=18834 ; 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": "Sat 2024-05-18 07:50:52 UTC", "InactiveEnterTimestampMonotonic": "1340718852", "InactiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "InactiveExitTimestampMonotonic": "1340720815", "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-weekly-cibwjplafr/tests/tests_ssh.yml:94 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.194) 0:00:10.319 ********** ok: [sut] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for sut RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 18 May 2024 07:51:09 +0000 (0:00:00.130) 0:00:10.450 ********** changed: [sut] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ActiveEnterTimestampMonotonic": "1342190955", "ActiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ActiveExitTimestampMonotonic": "1340702338", "ActiveState": "active", "After": "basic.target network-online.target network.target system.slice remote-fs.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-05-18 07:50:52 UTC", "AssertTimestampMonotonic": "1340719660", "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": "Sat 2024-05-18 07:50:52 UTC", "ConditionTimestampMonotonic": "1340719659", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-05-18 07:50:54 UTC", "ExecMainExitTimestampMonotonic": "1342190535", "ExecMainPID": "18842", "ExecMainStartTimestamp": "Sat 2024-05-18 07:50:52 UTC", "ExecMainStartTimestampMonotonic": "1340720207", "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-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:54 UTC] ; pid=18842 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-05-18 07:50:52 UTC] ; stop_time=[Sat 2024-05-18 07:50:52 UTC] ; pid=18834 ; 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": "Sat 2024-05-18 07:50:52 UTC", "InactiveEnterTimestampMonotonic": "1340718852", "InactiveExitTimestamp": "Sat 2024-05-18 07:50:52 UTC", "InactiveExitTimestampMonotonic": "1340720815", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Saturday 18 May 2024 07:51:30 +0000 (0:00:20.873) 0:00:31.324 ********** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 20.87s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gather facts from sut --------------------------------------------------- 5.62s /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:56 ------------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:2 -------------------------- fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.46s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Install required packages ------------- 0.43s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.37s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.30s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.30s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.22s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.21s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.21s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.19s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.19s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.18s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.14s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.13s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.13s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Cleanup kdump_path ------------------------------------------------------ 0.13s /WORKDIR/git-weekly-cibwjplafr/tests/tests_ssh.yml:94 ------------------------- fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.12s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.12s /WORKDIR/git-weekly-cibwjplafr/.collection/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---