On Mon, Apr 16, 2007 at 12:50:11PM -0500, Clark Williams wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt Domsch wrote:
> I'd like to make a feature request for mock: the ability for it to
> determine a job has taken too long and kill it. mock --timeout N (with N
> in minutes) is the UI I'm picturing.
>
>
> I've been doing these mass rebuilds for a while. Every so often we'll
> wind up with a package with the halting problem - it continues to run,
> or not, but it doesn't ever finish building either. Ever. Several
> days later, it's still going, but not making progress.
>
> Sure, some jobs, like the kernel, openoffice, glibc, etc. can take a
> good number of hours. But even those don't run for days. The latest
> culprits was a few perl modules that ran for >2 days with no end in
> sight.
>
File an RFE BZ on it and I'll look at it.
I have some python code from another project that does exactly this. I
can drop it in. I'll send a patch for review.
--
Michael