builders.py: At the end of trigger builds use rm rather than clobber to clean up
A message that is not in the archive (sent off-list or not yet received): [email protected]
Since clobber is crossing two file systems in this case the worker can delete the files faster than it can move them
Also fixes a occasional race that results in build failures
Signed-off-by Steve Sakoman <[email protected]>
--- builders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
builders.py +2 -2
@@ -377,9 +377,9 @@ def create_parent_builder_factory(buildername, waitname): factory.addStep(steps.ShellCommand( - command=[clob, util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir))], + command=["rm", "-fr", util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir))], haltOnFailure=True, - name="Clobber shared repo dir")) + name="Remove shared repo dir")) return factory
Signature · 1 line
2.17.1