CI: new actions in case of timeout
Matthieu Baerts
maintainerHello,
As discussed at the last meeting, I recently modified the CI to get more debug info before stopping the VM after a timeout.
This was necessary, because, in this cycle, we had a few jobs ([1] [2]
[3] etc.) that got blocked, and no more details were available. I don't think that was directly caused by MPTCP, or the tests, but still, it sounds better to extract some debug info when this happens.
In short, there is now a background script running inside the test VM that will wait, and then run:
echo w > /proc/sysrq-trigger
echo d > /proc/sysrq-trigger
echo l > /proc/sysrq-trigger
echo t > /proc/sysrq-trigger
Doc: https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
CI:
https://github.com/multipath-tcp/mptcp-upstream-virtme-docker/commit/ba46718
WDYT?
- Will this work? (background script inside the test VM)
- Or do I need to access another tty, or the QEmu console, etc.?
- sysrq-t can trigger a lot of info, maybe too much and cause other issues?
- Any other interesting sysrq that I missed?
- Or something else to get?
(To test locally with the virtme image, you need to set the INPUT_EXPECT_TIMEOUT env var to a value above 60)
[1]
https://github.com/multipath-tcp/mptcp_net-next/actions/runs/11834706526/job/32975942269
[2]
https://github.com/multipath-tcp/mptcp_net-next/actions/runs/11802728376/job/32879029307
[3]
https://github.com/multipath-tcp/mptcp_net-next/actions/runs/11473893644/job/31928844677#step:7:5346
Cheers,
Matt
Signature · 1 line
Sponsored by the NGI0 Core fund.