kpcyrd / rebuilderd

Independent verification of binary packages - reproducible builds
GNU General Public License v3.0
355 stars 24 forks source link

Killing builds after timeout doesn't work reliably #110

Open kpcyrd opened 2 years ago

kpcyrd commented 2 years ago

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 commented 2 years ago

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