WIP: Add direct pdudaemon support to LAVA

If we let LAVA dispatcher know the name of the device a job is running
on, then it can hand off power control to pdudaemon using the new
alias support.
15 jobs for pdudaemon in 3 minutes and 1 second (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Test
failed #66982
amd64
dispatcher-debian-10

00:02:36

failed #66980
amd64
dispatcher-debian-9

00:03:01

failed #66983
amd64
server-debian-10

00:02:23

failed #66981
amd64
server-debian-9

00:02:40

 
  Analyze
skipped #66985
amd64
black
skipped #66986
amd64
code_quality
skipped #66987
amd64
dockerfiles
skipped #66988
amd64
job-schema
skipped #66989
amd64
pylint
skipped #66984
amd64-dind allowed to fail
sast
 
  Build
skipped #66992
amd64
amd64/pkg-debian-10
skipped #66991
amd64
amd64/pkg-debian-9
skipped #66990
amd64
doc
 
  Docker
skipped #66993
amd64-dind
amd64/lava-dispatcher
skipped #66994
amd64-dind
amd64/lava-server
 
Name Stage Failure
failed
dispatcher-debian-9 Test
WC1 /builds/matt/lava/lava_dispatcher/tests/test_lavashell.py cannot collect test class 'TestShellAction' because it has a __init__ constructor
WC1 /builds/matt/lava/lava_dispatcher/tests/test_multinode.py cannot collect test class 'TestError' because it has a __init__ constructor
WC1 /builds/matt/lava/lava_dispatcher/tests/test_multinode.py cannot collect test class 'TestCoordinator' because it has a __init__ constructor
WC1 /builds/matt/lava/lava_dispatcher/tests/test_test_shell.py cannot collect test class 'TestError' because it has a __init__ constructor
==== 250 failed, 96 passed, 5 skipped, 12 pytest-warnings in 144.36 seconds ====
Uploading artifacts...
dispatcher.xml: found 1 matching files
Uploading artifacts to coordinator... ok
id=66980 responseStatus=201 Created token=PkJKuryF
ERROR: Job failed: exit code 1
failed
server-debian-9 Test
WC1 /builds/matt/lava/lava_server/tests.py cannot collect test class 'TestTransport' because it has a __init__ constructor
=== 111 failed, 340 passed, 2 skipped, 29 pytest-warnings in 114.72 seconds ====
Starting PostgreSQL 9.6 database server: main.
psql: FATAL: the database system is starting up
Uploading artifacts...
common.xml: found 1 matching files
server.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=66981 responseStatus=201 Created token=GoE1y7rh
ERROR: Job failed: exit code 1
failed
dispatcher-debian-10 Test
  /usr/lib/python3/dist-packages/jinja2/lexer.py:587: DeprecationWarning: invalid escape sequence '\s'
.decode('unicode-escape')

-- Docs: https://docs.pytest.org/en/latest/warnings.html
======= 254 failed, 96 passed, 1 skipped, 19 warnings in 124.49 seconds ========
Uploading artifacts...
dispatcher.xml: found 1 matching files
Uploading artifacts to coordinator... ok
id=66982 responseStatus=201 Created token=JjDGM71D
ERROR: Job failed: exit code 1
failed
server-debian-10 Test
--------------- generated xml file: /builds/matt/lava/server.xml ---------------
============== 110 failed, 340 passed, 3 skipped in 94.11 seconds ==============
Starting PostgreSQL 11 database server: main.
ERROR: role "devel" already exists
Uploading artifacts...
common.xml: found 1 matching files
server.xml: found 1 matching files

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