WIP: Add API support for env-dut files

Add necessary API for handling env-dut files.
Fix in the same time remaining env.dut.yaml reference
Tested with https://git.lavasoftware.org/montjoie/lavacli/-/tree/env-dut

Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
16 jobs for env-dut in 4 minutes and 54 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Test
passed #124728
amd64
dispatcher-debian-10

00:03:50

passed #124730
amd64
dispatcher-debian-11

00:04:09

failed #124729
amd64
server-debian-10

00:04:36

failed #124731
amd64
server-debian-11

00:04:53

 
  Analyze
skipped #124732
amd64-dind allowed to fail
bandit-sast
skipped #124733
amd64
black
skipped #124734
amd64
code_quality
skipped #124739
amd64
codespell
skipped #124735
amd64
coverage
skipped #124736
amd64
dockerfiles
skipped #124738
amd64
pylint
skipped #124737
amd64
schemas
 
  Build
skipped #124741
amd64
debian/10
skipped #124740
amd64
doc
skipped #124742
amd64-dind
docker-amd64-dispatcher
skipped #124743
amd64-dind
docker-amd64-server
 
Name Stage Failure
failed
server-debian-11 Test
    return cls._flavour.parse_parts(parts)
AttributeError: type object 'Path' has no attribute '_flavour'
Uploading artifacts for failed job
Uploading artifacts...
common.xml: found 1 matching files and directories

server.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=124731 responseStatus=201 Created token=iLoopmTz
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
server-debian-10 Test
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 2 failed, 639 passed, 5 warnings in 176.26 seconds ==============
Uploading artifacts for failed job
Uploading artifacts...
common.xml: found 1 matching files and directories

server.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=124729 responseStatus=201 Created token=vbnjgzcv
Cleaning up file based variables
ERROR: Job failed: exit code 1