Add reset shell support.

With this feature, we could continue test even if case meet kernel panic.
Meanwhile, also add other mechanism to recover shell.

Signed-off-by: Larry Shen <larry.shen@nxp.com>
15 jobs for feature/reset_shell in 15 minutes and 38 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
passed #102165
amd64
dispatcher-debian-10

00:02:23

passed #102167
amd64
dispatcher-debian-11

00:02:20

passed #102166
amd64
server-debian-10

00:02:57

passed #102168
amd64
server-debian-11

00:05:19

 
  Analyze
passed #102169
amd64-dind
bandit-sast

00:00:55

passed #102170
amd64
black

00:00:40

passed #102171
amd64
code_quality

00:00:26

passed #102172
amd64
coverage

00:06:21

59.06%
passed #102173
amd64
dockerfiles

00:00:24

passed #102175
amd64
pylint

00:03:02

passed #102174
amd64
schemas

00:00:36

 
  Build
passed #102177
amd64
debian/10

00:01:17

passed #102176
amd64
doc

00:00:44

passed #102178
amd64-dind
docker-amd64-dispatcher

00:03:45

passed #102179
amd64-dind
docker-amd64-server

00:03:54