rebuilderd icon indicating copy to clipboard operation
rebuilderd copied to clipboard

Killing builds after timeout doesn't work reliably

Open kpcyrd opened this issue 2 years ago • 1 comments

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.

kpcyrd avatar Dec 10 '21 10:12 kpcyrd

#111 seems to improve the situation significantly. Shoutout to @stoeckmann who helped me getting this to work.

kpcyrd avatar Dec 10 '21 18:12 kpcyrd