WIP: Cancel all submitted jobs at retire transition

lava/lava#66

whenever a device get retired, cancel the scheduling job using this device.

Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
15 jobs for issue66 in 15 minutes and 50 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #90894
amd64
dispatcher-debian-10

00:02:20

passed #90896
amd64
dispatcher-debian-11

00:02:23

passed #90895
amd64
server-debian-10

00:02:50

passed #90897
amd64
server-debian-11

00:05:07

 
  Analyze
passed #90899
amd64
black

00:00:32

passed #90900
amd64
code_quality

00:00:21

passed #90901
amd64
coverage

00:06:18

58.9%
passed #90902
amd64
dockerfiles

00:00:19

passed #90904
amd64
pylint

00:02:55

passed #90898
amd64-dind
sast

00:03:10

passed #90903
amd64
schemas

00:00:30

 
  Build
passed #90906
amd64
debian/10

00:01:20

passed #90905
amd64
doc

00:00:41

passed #90907
amd64-dind
docker-amd64-dispatcher

00:03:47

passed #90908
amd64-dind
docker-amd64-server

00:04:22