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 16 minutes and 31 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Test
passed #100133
amd64
dispatcher-debian-10

00:02:25

passed #100135
amd64
dispatcher-debian-11

00:02:20

passed #100134
amd64
server-debian-10

00:02:57

passed #100136
amd64
server-debian-11

00:04:57

 
  Analyze
passed #100138
amd64
black

00:00:34

passed #100139
amd64
code_quality

00:00:21

passed #100140
amd64
coverage

00:06:40

59.05%
passed #100141
amd64
dockerfiles

00:00:18

passed #100143
amd64
pylint

00:02:57

passed #100137
amd64-dind
sast

00:02:15

passed #100142
amd64
schemas

00:00:30

 
  Build
passed #100145
amd64
debian/10

00:02:15

passed #100144
amd64
doc

00:01:52

passed #100146
amd64-dind
docker-amd64-dispatcher

00:04:51

passed #100147
amd64-dind
docker-amd64-server

00:04:51