Bug#851870: autopkgtest-virt-qemu: Hangs if test causes a kernel panic
Iain Lane
iain at orangesquash.org.uk
Mon Feb 6 10:55:01 UTC 2017
On Thu, Jan 19, 2017 at 02:06:30PM +0000, Iain Lane wrote:
> Package: autopkgtest
> Version: 4.3
> Severity: minor
> Tags: upstream
>
> I was attempting to debug/fix LP: #1630578, so I wrote the attached
> package to trigger a panic manually.
>
> Seems that the qemu runner hangs when the panic happens. (Hopefully it's
> going to timeout eventually.)
>
> I thought about solving by slightly refactoring the auxverb use to use
> asyncio when waiting for the command to exit, and then also for reading
> from ttyS0 for occurrences of 'Kernel panic'.
Hmm.
It was fun learning a bit about asyncio to implement this on the train
back from FOSDEM. What I have currently is attached, but it's not fully
ready. I explained a problem in the commit message - if the machine is
dead due to a panic, how can we execute copyup and other commands that
autopkgtest wants to run after a failure?
Cheers,
--
Iain Lane [ iain at orangesquash.org.uk ]
Debian Developer [ laney at debian.org ]
Ubuntu Developer [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-autopkgtest-virt-qemu-Record-kernel-panics-as-fa.patch
Type: text/x-diff
Size: 3654 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20170206/c437147c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20170206/c437147c/attachment.sig>
More information about the autopkgtest-devel
mailing list