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>
16 jobs for feature/reset_shell in 21 minutes and 33 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #88848
amd64
dispatcher-debian-10

00:04:08

passed #88850
amd64
dispatcher-debian-11

00:04:30

passed #88849
amd64
server-debian-10

00:04:59

failed #94942
amd64
server-debian-11

00:04:49

passed #88851
amd64
server-debian-11

00:07:00

 
  Analyze
passed #88853
amd64
black

00:01:06

passed #88854
amd64
code_quality

00:00:55

passed #88855
amd64
coverage

00:07:11

58.65%
passed #88856
amd64
dockerfiles

00:00:54

passed #88858
amd64
pylint

00:02:00

passed #88852
amd64-dind
sast

00:03:07

passed #88857
amd64
schemas

00:01:06

 
  Build
passed #88860
amd64
debian/10

00:01:24

passed #88859
amd64
doc

00:00:48

passed #88861
amd64-dind
docker-amd64-dispatcher

00:03:28

passed #88862
amd64-dind
docker-amd64-server

00:04:31

 
Name Stage Failure
failed
server-debian-11 Test
Running after_script
Starting PostgreSQL 12 database server: main.
ERROR: role "devel" already exists
Uploading artifacts for failed job
Uploading artifacts...
common.xml: found 1 matching files

server.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=94942 responseStatus=201 Created token=QwNAZyfs
ERROR: Job failed: exit code 1