[Nix-dev] Troubles with Hydra's failure cache
Eelco Dolstra
e.dolstra at tudelft.nl
Mon Aug 3 16:12:31 CEST 2009
Hi,
Michael Raskin wrote:
> Ludovic Courtès wrote:
>> How can it be handled? Could Hydra be extended (fixed?) to distinguish
>> between build failures and transient failures like this?
Nix does try to distinguish between transient and permanent failures. For
instance, fetchurl failures aren't cached. But a failure due to the GC bug
appears as a permanent failure, so it's cached. The solution is to fix the GC
bug ;-)
> Or at least a way to manually unremember build failure would be nice.
Yes, I can do that manually by logging in to the Hydra server and doing "rm
/nix/var/nix/db/failed/*", then restarting the build (that can actually be done
through the web interface). That could be made a bit nicer: the restart button
in the web interface should get rid of the cached failures.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list