Debian: Killing Process "sshd" does not trigger an event in "fm event-list"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Manasses julio da silva junior |
Bug Description
Brief Description
-------
The process "sshd" is running and monitored by starlinx.
If we kill the sshd process, an event should be trigger in the "fm event-list". This event is not triggered.
Note that the sshd process does recover after being killed.
Severity
----------
Minor
Steps to Reproduce{}
-------
Log on to a Debian lab.
Use "ps -aux | grep sshd" to see the list of sshd processes running.
Use "kill -9 <pid>" to kill every process which showed up from the previous command.
Run "fm event-list"
Automated Test Case: test_process_
Expected Behavior
-------------------
There should be an event in the list of the shape:
"controller-0 'sshd' process has failed. Auto recovery in progress."
Actual Behavior
-----------------
There is no such event in the logs.
Reproducibility
------------------
100% on Debian
Not seen on CentOS.
System Configuration
-------
Debian AIO-Simplex
Last Pass
-----------
Never on Debian.
Timestamp/Logs
----------------
[2022-06-23 15:59:40,226] 1312 INFO MainThread test_process_
[2022-06-23 15:59:40,226] 1381 INFO MainThread test_process_
[2022-06-23 16:04:00,324] 1384 INFO MainThread test_process_
[2022-06-23 16:04:00,324] 4719 INFO MainThread system_
[2022-06-23 16:04:04,531] 4762 INFO MainThread system_
[2022-06-23 16:04:04,531] 4762 INFO MainThread system_
[2022-06-23 16:04:04,532] 4770 INFO MainThread system_
[2022-06-23 16:04:07,594] 1196 WARNING MainThread test_process_
matched events:
[], host=controller-0, expected status=
(...)
[2022-06-23 16:06:14,773] 1196 WARNING MainThread test_process_
matched events:
[], host=controller-0, expected status=
[2022-06-23 16:06:17,776] 1207 INFO MainThread test_process_
[]
[2022-06-23 16:06:17,776] 1474 ERROR MainThread test_process_
[2022-06-23 16:06:17,776] 1488 ERROR MainThread test_process_
***Failure at test call: /home/croy/
FAILED
Alarms
--------
None
Test Activity
---------------
Automated Regression Analysis
Workaround
-----------
Don't look in the alarm event logs.
Changed in starlingx: | |
assignee: | nobody → Manasses julio da silva junior (manassesjulio) |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.fault |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config- files/+ /859994
Review: https:/