Hello all, As many of you have noticed beforehand, buildbot doesn't clean-up by default the old directories on a worker, which are not required anymore by the buildmaster.
Since version 2.7.0 there will be a notice at twistd.log within the buildarea, about the directories that can be removed but there is also an option to always remove them which can be added to buildbot.tac of the worker config [0]. Unfortunately it's not turned on by default and it has to be configured on each worker individually but it can save some hassle in the long run. So within the buildbot.tac residing at the buildarea just change the value of "delete_leftover_dirs" to 1 and restart the service. That should do the trick and you can verify the change by checking to see that the directories mentioned beforehand at twistd.log do not exist anymore. Note that if you created the worker config before version 2.7.0, the value will not be there, so just add the "delete_leftover_dirs=1" and add it to the constructor of the worker. example snippet of that buildbot.tac section: maxretries = None use_tls = 0 delete_leftover_dirs = 1 s = Worker(buildmaster_host, port, workername, passwd, basedir, keepalive, umask=umask, maxdelay=maxdelay, numcpus=numcpus, allow_shutdown=allow_shutdown, maxRetries=maxretries, useTls=use_tls, delete_leftover_dirs=delete_leftover_dirs) [0] https://github.com/buildbot/buildbot/commit/7a3943551f64cd04315d17ec89411a89b0a92a02#diff-5d686ca24fae7c1d0ae8b4963b5e8eeeR62 -- Regards, Charalampos Stratakis Software Engineer Python Maintenance Team, Red Hat _______________________________________________ Python-Buildbots mailing list -- python-buildbots@python.org To unsubscribe send an email to python-buildbots-le...@python.org https://mail.python.org/mailman3/lists/python-buildbots.python.org/ Member address: arch...@mail-archive.com