sonic-buildimage/platform/barefoot
yozhao101 4fa81b4f8d
[dockers] Update critical_processes file syntax (#4831)
**- Why I did it**
Initially, the critical_processes file contains either the name of critical process or the name of group.
For example, the critical_processes file in the dhcp_relay container contains a single group name
`isc-dhcp-relay`. When testing the autorestart feature of each container, we need get all the critical
processes and test whether a  container can be restarted correctly if one of its critical processes is
killed. However, it will be difficult to differentiate whether the names in the critical_processes file are
the critical processes or group names. At the same time, changing the syntax in this file will separate the individual process from the groups and also makes it clear to the user.

Right now the critical_processes file contains two different kind of entries. One is "program:xxx" which indicates a critical process. Another is "group:xxx" which indicates a group of critical processes
managed by supervisord using the name "xxx". At the same time, I also updated the logic to
parse the file critical_processes in supervisor-proc-event-listener script.

**- How to verify it**
We can first enable the autorestart feature of a specified container for example `dhcp_relay` by running the comman `sudo config container feature autorestart dhcp_relay enabled` on DUT. Then we can select a critical process from the command `docker top dhcp_relay` and use the command `sudo kill -SIGKILL <pid>` to kill that critical process. Final step is to check whether the container is restarted correctly or not.
2020-06-25 21:18:21 -07:00
..
bfn-modules [kerne]: kernel update from 4.19.0-6 to 4.19.0-6-2 (#4711) 2020-06-21 06:41:23 -07:00
docker-saiserver-bfn [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-bfn [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-syncd-bfn-rpc [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
sonic-platform-modules-arista@9ea7795ac0 [arista] Update drivers submodules (#4693) 2020-06-04 13:33:33 -07:00
sonic-platform-modules-bfn [kerne]: kernel update from 4.19.0-6 to 4.19.0-6-2 (#4711) 2020-06-21 06:41:23 -07:00
sonic-platform-modules-bfn-montara [kerne]: kernel update from 4.19.0-6 to 4.19.0-6-2 (#4711) 2020-06-21 06:41:23 -07:00
sonic-platform-modules-bfn-newport [kerne]: kernel update from 4.19.0-6 to 4.19.0-6-2 (#4711) 2020-06-21 06:41:23 -07:00
sonic-platform-modules-ingrasys [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector (#4035) 2020-01-22 11:26:23 -08:00
sonic-platform-modules-wnc-osw1800 [kerne]: kernel update from 4.19.0-6 to 4.19.0-6-2 (#4711) 2020-06-21 06:41:23 -07:00
bfn-modules.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
bfn-platform-ingrasys.mk [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
bfn-platform-wnc.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
bfn-platform.mk [BFN] Update SAI and platform packages to 20200618 (#4817) 2020-06-19 11:00:44 -07:00
bfn-sai.mk [BFN] Update SAI and platform packages to 20200618 (#4817) 2020-06-19 11:00:44 -07:00
docker-ptf-bfn.mk [build]: add docker-ptf-* as stretch docker targets (#4516) 2020-05-01 11:20:33 -07:00
docker-syncd-bfn-rpc.mk [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-18 11:59:39 -07:00
docker-syncd-bfn.mk [docker-syncd-vs]: Convert syncd-vs docker to buster (#4726) 2020-06-09 09:07:25 -07:00
libsaithrift-dev.mk [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488) 2019-02-16 10:14:18 -08:00
one-aboot.mk [arista] update platform driver submodules (#4512) 2020-04-30 12:06:19 -07:00
one-image.mk [devices]: Fixed OSW1800 build problem (#4647) 2020-06-09 09:19:45 -07:00
platform-modules-arista.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-montara.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-newport.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-ingrasys.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-wnc-osw1800.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform.conf [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
rules.mk [devices]: Fixed OSW1800 build problem (#4647) 2020-06-09 09:19:45 -07:00