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 Name Job ID Coverage
  Test
passed dispatcher-debian-10 #102165
amd64

00:02:23

passed dispatcher-debian-11 #102167
amd64

00:02:20

passed server-debian-10 #102166
amd64

00:02:57

passed server-debian-11 #102168
amd64

00:05:19

 
  Analyze
passed bandit-sast #102169
amd64-dind

00:00:55

passed black #102170
amd64

00:00:40

passed code_quality #102171
amd64

00:00:26

passed coverage #102172
amd64

00:06:21

59.06%
passed dockerfiles #102173
amd64

00:00:24

passed pylint #102175
amd64

00:03:02

passed schemas #102174
amd64

00:00:36

 
  Build
passed debian/10 #102177
amd64

00:01:17

passed doc #102176
amd64

00:00:44

passed docker-amd64-dispatcher #102178
amd64-dind

00:03:45

passed docker-amd64-server #102179
amd64-dind

00:03:54