That can only work if there is continuous outside enforcement. Everything else is wishful thinking.
Each Swarming bot take many actions against leaking files:
- Remediation: It has its own list of globs of frequent leakers and clean them up after each test run.
- Protection: It deletes the work directory where the task ran in.
Action items:
- Accountability: I filed
crbug.com/579233 to fix python unnamed temporary directory usage.
- Enforcement: I filed
crbug.com/684070 to track work on making Swarming tasks to hard fail on left over temporary files.
The first would be helpful to help diagnosis and would be relatively simple task to complete with the help of "sed".
The second is a quite good task if someone wants to learn a bit about the infrastructure but not too much. :)
Take on either bug and fire CLs away if interested. No need to ask.
M-A