worker: When reporting 'unknown' results, fake up testinfo.json if needed
Sometimes autopkgtest can exit kind of abruptly and not write much to
its output. proposed-migration needs testinfo.json to be able to
associate completed tests with ones it is waiting for. We already know
the important information here - the triggers - so write it ourselves if
we need to.
webcontrol: Create UNIQUE INDEX on test(package, release, arch)
This improves query performance by factor 100-200, roughly. The
database does not actually seem to grow, but the query - and some
other queries look a lot nicer and faster :D
I think the problems weren't with TLS, but a coincidence with some
problems the network between DCs was having at the time.
socat has some problems now we're using lxd from a snap - the snap
auto-refreshes and this restarts the socket unit which we're forwarding
from, which in turn makes `socat` fail and breaks the connection from
the autopkgtest-lxd-worker, interrupting any in progress tests.
Still a bit tentative, if this causes problems we can revert this revert
and do something like block refreshes on the lxd-armhf nodes.
This reverts commit e7e5b037243cf9201ffa81b4ea68d563093c5c4c.