On 2024-06-20 21:49, Paul Gevers wrote:
> Hi
>
> On 20-06-2024 1:34 p.m., Paride Legovini wrote:
>> I can confirm this behavior, which I encountered when fixing LxcRunner
>> tests, however I only hit it when the lxc virt server. I did not use
>> a-virt-lxc that much until recently, so I can't tell when it stopped
>> working.
>
> So you're saying it doesn't happen with qemu? I recall I had it there
> too, but I might be misremembering.
qemu doesn't try to directly open a shell, it gives the following output
and those methods normally work for me:
[...]
autopkgtest [10:35:51]: - - - - - - - - - - running shell - - - - - - - - - -
You can now log into the VM through the serial terminal.
Depending on which terminal program you have installed, you can use one of
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022
user@localhost
minicom -D unix#/tmp/autopkgtest-qemu._eh9zmf4/ttyS0
nc -U /tmp/autopkgtest-qemu._eh9zmf4/ttyS0
socat - UNIX-CONNECT:/tmp/autopkgtest-qemu._eh9zmf4/ttyS0
The tested source package is in /tmp/autopkgtest.yg4J9u/build.ZDI/real-tree
Press Enter to resume running tests.