Hanging processes left after mock_runner is being terminated


Since mock_runner.sh runs as $user and mock runs as root, mock_runner can't propagate signals to mock process.
Due to the said above, if mock_runner is being terminated, the mock process will be left behind as an orphaned.
Another symptom is subprocesses of user script which are not being killed after users script returns.

We need to trap signals from mock_runner and implement a message pipe between mock_runner and mock to propagate the signals.


Gal Ben Haim
January 9, 2018, 1:21 PM
Daniel Belenky
March 7, 2018, 6:03 AM

This issue was not fixed at it's root cause, but we do have implemented some specific cleanups in slave cleanup script to ensure no lago processes are running OVIRT‌-1890.

A long term solution will be to use containers instead of chroots for proper process namespace isolation.

can we close this ticket?

Eyal Edri
March 7, 2018, 8:50 AM

if we havn't seen any new errors from this recently, I guess we can close it.
have you seen errors around this issue lately?

Barak Korren
March 7, 2018, 8:52 AM

We have seen errors, just not in OST where everyone looks; but Kubevirt CI is currently broken because of stuck Vagrant processes...

Eyal Edri
December 12, 2018, 12:58 PM

Still an issue?


Daniel Belenky


Daniel Belenky

Blocked By

code review