Hi
I am running SONiC 202106 on ARM64. I could see swss exits soon after the bootup with the following log messages before I even login. I could only see a bunch of containers had already gone when I login into the switch.
Since swss exit first, I think it should have triggered other containers to exit.
It Would be helpful if you could share some ways to debug this issue..
==============
root@sonic:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7712037ae24a docker-snmp:latest "/usr/local/bin/supe…" 4 minutes ago Up 58 seconds snmp
2bf6f479c329 docker-sonic-telemetry:latest "/usr/local/bin/supe…" 4 minutes ago Up 4 minutes telemetry
5891046a083b docker-router-advertiser:latest "/usr/bin/docker-ini…" 6 minutes ago Exited (0) 16 seconds ago radv
9a08c04d11f7 docker-lldp:latest "/usr/bin/docker-lld…" 6 minutes ago Up 6 minutes lldp
bdee0e434b45 docker-syncd-mrvl:latest "/usr/local/bin/supe…" 6 minutes ago Exited (0) 9 seconds ago syncd
be6aa6c1c404 docker-teamd:latest "/usr/local/bin/supe…" 6 minutes ago Exited (0) 20 seconds ago teamd
65826ae6d257 docker-orchagent:latest "/usr/bin/docker-ini…" 7 minutes ago Exited (0) 31 seconds ago swss
e44002bf2daf docker-fpm-frr:latest "/usr/bin/docker_ini…" 7 minutes ago Up 7 minutes bgp
4eaca41816b7 docker-platform-monitor:latest "/usr/bin/docker_ini…" 7 minutes ago Up 7 minutes pmon
df75745a44bd docker-database:latest "/usr/local/bin/dock…" 8 minutes ago Up 8 minutes database
root@sonic:~# docker logs swss
/usr/local/lib/python3.7/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2021-07-21 18:55:30,028 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2021-07-21 18:55:30,035 INFO Set uid to user 0 succeeded
2021-07-21 18:55:30,085 INFO RPC interface 'supervisor' initialized
2021-07-21 18:55:30,094 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-07-21 18:55:30,106 INFO supervisord started with pid 1
2021-07-21 18:55:31,128 INFO spawned: 'dependent-startup' with pid 22
2021-07-21 18:55:31,208 INFO spawned: 'supervisor-proc-exit-listener' with pid 23
2021-07-21 18:55:32,237 INFO success: dependent-startup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:55:32,248 INFO success: supervisor-proc-exit-listener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:55:40,203 INFO spawned: 'rsyslogd' with pid 26
2021-07-21 18:55:41,157 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:55:47,410 INFO spawned: 'gearsyncd' with pid 30
2021-07-21 18:55:47,569 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:55:47,909 INFO spawned: 'portsyncd' with pid 31
2021-07-21 18:55:48,254 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 18:55:48,907 INFO success: portsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:55:50,664 INFO spawned: 'gearsyncd' with pid 36
2021-07-21 18:55:50,725 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:55:52,197 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 18:55:57,814 INFO spawned: 'orchagent' with pid 38
2021-07-21 18:55:58,783 INFO success: orchagent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:56:11,649 INFO spawned: 'swssconfig' with pid 40
2021-07-21 18:56:11,731 INFO success: swssconfig entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:56:12,235 INFO spawned: 'coppmgrd' with pid 42
2021-07-21 18:56:12,328 INFO success: coppmgrd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:56:29,136 INFO exited: orchagent (exit status 1; not expected)
2021-07-21 18:56:30,710 WARN received SIGTERM indicating exit request
2021-07-21 18:56:30,731 INFO waiting for dependent-startup, supervisor-proc-exit-listener, rsyslogd, portsyncd, swssconfig, coppmgrd to die
2021-07-21 18:56:32,823 INFO exited: dependent-startup (exit status 3; expected)
2021-07-21 18:56:32,831 INFO exited: swssconfig (exit status 0; expected)
2021-07-21 18:56:33,838 INFO waiting for supervisor-proc-exit-listener, rsyslogd, portsyncd, coppmgrd to die
2021-07-21 18:56:33,972 WARN received SIGTERM indicating exit request
2021-07-21 18:56:34,011 INFO stopped: coppmgrd (terminated by SIGTERM)
2021-07-21 18:56:36,028 INFO stopped: portsyncd (terminated by SIGTERM)
2021-07-21 18:56:37,051 INFO waiting for supervisor-proc-exit-listener, rsyslogd to die
2021-07-21 18:56:37,089 INFO stopped: rsyslogd (exit status 0)
2021-07-21 18:56:37,128 INFO stopped: supervisor-proc-exit-listener (terminated by SIGTERM)
/usr/local/lib/python3.7/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2021-07-21 18:57:37,537 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2021-07-21 18:57:37,538 INFO Set uid to user 0 succeeded
2021-07-21 18:57:37,565 INFO RPC interface 'supervisor' initialized
2021-07-21 18:57:37,566 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-07-21 18:57:37,568 INFO supervisord started with pid 1
2021-07-21 18:57:38,578 INFO spawned: 'dependent-startup' with pid 23
2021-07-21 18:57:38,630 INFO spawned: 'supervisor-proc-exit-listener' with pid 24
2021-07-21 18:57:39,664 INFO success: dependent-startup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:57:39,665 INFO success: supervisor-proc-exit-listener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:57:41,044 INFO spawned: 'rsyslogd' with pid 27
2021-07-21 18:57:42,039 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:57:42,604 INFO spawned: 'gearsyncd' with pid 31
2021-07-21 18:57:42,615 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:57:42,684 INFO spawned: 'portsyncd' with pid 32
2021-07-21 18:57:42,734 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 18:57:43,129 INFO spawned: 'gearsyncd' with pid 37
2021-07-21 18:57:43,141 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:57:43,681 INFO success: portsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:57:44,257 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 18:57:45,609 INFO spawned: 'orchagent' with pid 39
2021-07-21 18:57:46,611 INFO success: orchagent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:57:47,636 INFO spawned: 'swssconfig' with pid 41
2021-07-21 18:57:47,658 INFO success: swssconfig entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:57:47,738 INFO spawned: 'coppmgrd' with pid 43
2021-07-21 18:57:47,757 INFO success: coppmgrd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:58:02,011 INFO exited: swssconfig (exit status 0; expected)
2021-07-21 18:58:04,071 INFO spawned: 'restore_neighbors' with pid 69
2021-07-21 18:58:04,102 INFO success: restore_neighbors entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:58:04,319 INFO spawned: 'neighsyncd' with pid 70
2021-07-21 18:58:04,628 INFO spawned: 'vlanmgrd' with pid 71
2021-07-21 18:58:04,858 INFO spawned: 'intfmgrd' with pid 73
2021-07-21 18:58:05,326 INFO spawned: 'portmgrd' with pid 82
2021-07-21 18:58:05,487 INFO success: neighsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:05,603 INFO success: vlanmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:05,806 INFO spawned: 'buffermgrd' with pid 91
2021-07-21 18:58:06,125 INFO success: intfmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:06,268 INFO success: portmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:06,688 INFO spawned: 'enable_counters' with pid 100
2021-07-21 18:58:06,965 INFO success: buffermgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:07,358 INFO spawned: 'vrfmgrd' with pid 102
2021-07-21 18:58:07,529 INFO success: enable_counters entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:07,911 INFO spawned: 'nbrmgrd' with pid 103
2021-07-21 18:58:08,346 INFO success: vrfmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:08,636 INFO spawned: 'vxlanmgrd' with pid 110
2021-07-21 18:58:09,120 INFO success: nbrmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:09,619 INFO spawned: 'fdbsyncd' with pid 117
2021-07-21 18:58:09,953 INFO success: vxlanmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:10,383 INFO spawned: 'tunnelmgrd' with pid 120
2021-07-21 18:58:10,491 INFO success: fdbsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:11,274 INFO success: tunnelmgrd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:58:15,492 INFO exited: orchagent (exit status 1; not expected)
2021-07-21 18:58:15,668 WARN received SIGTERM indicating exit request
2021-07-21 18:58:15,674 INFO waiting for dependent-startup, supervisor-proc-exit-listener, rsyslogd, portsyncd, coppmgrd, restore_neighbors, neighsyncd, vlanmgrd, intfmgrd, portmgrd, buffermgrd, enable_counters, vrfmgrd, nbrmgrd, vxlanmgrd, fdbsyncd, tunnelmgrd to die
2021-07-21 18:58:15,737 INFO stopped: tunnelmgrd (terminated by SIGTERM)
2021-07-21 18:58:15,785 INFO stopped: fdbsyncd (terminated by SIGTERM)
2021-07-21 18:58:15,833 INFO stopped: vxlanmgrd (terminated by SIGTERM)
2021-07-21 18:58:15,854 INFO stopped: nbrmgrd (terminated by SIGTERM)
2021-07-21 18:58:15,904 INFO stopped: vrfmgrd (terminated by SIGTERM)
2021-07-21 18:58:15,955 INFO stopped: enable_counters (terminated by SIGTERM)
2021-07-21 18:58:16,000 INFO stopped: buffermgrd (terminated by SIGTERM)
2021-07-21 18:58:16,180 INFO stopped: portmgrd (terminated by SIGTERM)
2021-07-21 18:58:16,228 INFO stopped: intfmgrd (terminated by SIGTERM)
2021-07-21 18:58:16,242 INFO stopped: vlanmgrd (terminated by SIGTERM)
2021-07-21 18:58:16,283 INFO stopped: neighsyncd (terminated by SIGTERM)
2021-07-21 18:58:16,595 INFO stopped: restore_neighbors (terminated by SIGTERM)
2021-07-21 18:58:16,610 INFO exited: dependent-startup (exit status 3; expected)
2021-07-21 18:58:16,614 INFO stopped: coppmgrd (terminated by SIGTERM)
2021-07-21 18:58:17,636 INFO stopped: portsyncd (terminated by SIGTERM)
2021-07-21 18:58:18,668 INFO stopped: rsyslogd (exit status 0)
2021-07-21 18:58:18,676 INFO waiting for supervisor-proc-exit-listener to die
2021-07-21 18:58:18,678 INFO stopped: supervisor-proc-exit-listener (terminated by SIGTERM)
/usr/local/lib/python3.7/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2021-07-21 18:59:37,840 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2021-07-21 18:59:37,841 INFO Set uid to user 0 succeeded
2021-07-21 18:59:37,868 INFO RPC interface 'supervisor' initialized
2021-07-21 18:59:37,869 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-07-21 18:59:37,871 INFO supervisord started with pid 1
2021-07-21 18:59:38,882 INFO spawned: 'dependent-startup' with pid 24
2021-07-21 18:59:38,928 INFO spawned: 'supervisor-proc-exit-listener' with pid 25
2021-07-21 18:59:39,954 INFO success: dependent-startup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:59:39,961 INFO success: supervisor-proc-exit-listener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:59:41,293 INFO spawned: 'rsyslogd' with pid 28
2021-07-21 18:59:42,287 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:59:45,304 INFO spawned: 'gearsyncd' with pid 32
2021-07-21 18:59:45,329 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:59:45,512 INFO spawned: 'portsyncd' with pid 33
2021-07-21 18:59:46,477 INFO success: portsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:59:46,598 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 18:59:47,141 INFO spawned: 'orchagent' with pid 38
2021-07-21 18:59:48,164 INFO success: orchagent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 18:59:51,263 INFO spawned: 'swssconfig' with pid 40
2021-07-21 18:59:51,320 INFO success: swssconfig entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 18:59:51,572 INFO spawned: 'coppmgrd' with pid 41
2021-07-21 18:59:51,640 INFO success: coppmgrd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 19:00:04,522 INFO exited: orchagent (exit status 1; not expected)
2021-07-21 19:00:05,125 INFO exited: swssconfig (exit status 0; expected)
2021-07-21 19:00:05,159 WARN received SIGTERM indicating exit request
2021-07-21 19:00:05,161 INFO waiting for dependent-startup, supervisor-proc-exit-listener, rsyslogd, portsyncd, coppmgrd to die
2021-07-21 19:00:05,353 INFO exited: dependent-startup (exit status 3; expected)
2021-07-21 19:00:06,416 WARN received SIGTERM indicating exit request
2021-07-21 19:00:06,432 INFO stopped: coppmgrd (terminated by SIGTERM)
2021-07-21 19:00:07,442 INFO stopped: portsyncd (terminated by SIGTERM)
2021-07-21 19:00:08,449 INFO waiting for supervisor-proc-exit-listener, rsyslogd to die
2021-07-21 19:00:08,468 INFO stopped: rsyslogd (exit status 0)
2021-07-21 19:00:08,480 INFO stopped: supervisor-proc-exit-listener (terminated by SIGTERM)
/usr/local/lib/python3.7/dist-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2021-07-21 19:01:21,714 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2021-07-21 19:01:21,714 INFO Set uid to user 0 succeeded
2021-07-21 19:01:21,742 INFO RPC interface 'supervisor' initialized
2021-07-21 19:01:21,743 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-07-21 19:01:21,745 INFO supervisord started with pid 1
2021-07-21 19:01:22,759 INFO spawned: 'dependent-startup' with pid 22
2021-07-21 19:01:22,804 INFO spawned: 'supervisor-proc-exit-listener' with pid 23
2021-07-21 19:01:23,828 INFO success: dependent-startup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 19:01:23,829 INFO success: supervisor-proc-exit-listener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 19:01:25,203 INFO spawned: 'rsyslogd' with pid 26
2021-07-21 19:01:26,197 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 19:01:28,228 INFO spawned: 'gearsyncd' with pid 30
2021-07-21 19:01:28,254 INFO success: gearsyncd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 19:01:28,461 INFO spawned: 'portsyncd' with pid 31
2021-07-21 19:01:29,432 INFO success: portsyncd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 19:01:29,504 INFO exited: gearsyncd (exit status 0; expected)
2021-07-21 19:01:30,578 INFO spawned: 'orchagent' with pid 36
2021-07-21 19:01:31,576 INFO success: orchagent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-21 19:01:34,625 INFO spawned: 'swssconfig' with pid 38
2021-07-21 19:01:34,767 INFO success: swssconfig entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 19:01:35,216 INFO spawned: 'coppmgrd' with pid 41
2021-07-21 19:01:35,289 INFO success: coppmgrd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-07-21 19:01:47,717 INFO exited: orchagent (exit status 1; not expected)
2021-07-21 19:01:48,373 INFO exited: swssconfig (exit status 0; expected)
2021-07-21 19:01:48,404 WARN received SIGTERM indicating exit request
2021-07-21 19:01:48,406 INFO waiting for dependent-startup, supervisor-proc-exit-listener, rsyslogd, portsyncd, coppmgrd to die
2021-07-21 19:01:48,589 INFO exited: dependent-startup (exit status 3; expected)
2021-07-21 19:01:49,613 WARN received SIGTERM indicating exit request
2021-07-21 19:01:49,620 INFO stopped: coppmgrd (terminated by SIGTERM)
2021-07-21 19:01:51,627 INFO waiting for supervisor-proc-exit-listener, rsyslogd, portsyncd to die
2021-07-21 19:01:51,631 INFO stopped: portsyncd (terminated by SIGTERM)
2021-07-21 19:01:52,651 INFO stopped: rsyslogd (exit status 0)
2021-07-21 19:01:52,659 INFO stopped: supervisor-proc-exit-listener (terminated by SIGTERM)
root@sonic:~#