checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.79k stars 565 forks source link

ztdm: inhfd: handle child hanging #2251

Open osctobe opened 11 months ago

osctobe commented 11 months ago

Let's kill the child when the test is hanging. Due to PEP 475 the SIGALRM handler needs to throw an exception to be able to interrupt wait(). To improve debuggig, close the fd in the child after reading it and detect that in the parent to show whether the child hung part way.

osctobe commented 11 months ago

So it seems some tests didn't expect timeouts to work...