rebuilderd
rebuilderd copied to clipboard
Killing builds after timeout doesn't work reliably
Especially on the debian rebuilder builds get frequently stuck during tests and the kill-after-timeout doesn't seem to work reliably.
The code that configures the timeout:
https://github.com/kpcyrd/rebuilderd/blob/9b586829d858ef130ef0a234e7da27020bf01357/worker/src/rebuild.rs#L186-L193
The code that's supposed to kill the process:
https://github.com/kpcyrd/rebuilderd/blob/9b586829d858ef130ef0a234e7da27020bf01357/worker/src/proc.rs#L90-L114
This needs investigation.
#111 seems to improve the situation significantly. Shoutout to @stoeckmann who helped me getting this to work.