Hi, While doing some local testing, I noticed that my /tmp drive completely filled with test artifact files (e.g. data directories, logs, commit logs, etc). Mick pointed out that we do attempt to do some "find" based cleanup in CI ( https://github.com/apache/cassandra-builds/blob/trunk/jenkins-dsl/cassandra_job_dsl_seed.groovy#L437-439), but I was wondering if it might be better to do the following for direct ant builds:
1. If TMPDIR is set, use it. It does not appear to be honored, currently, so I need to do some analysis of what would need to be done here 2. If TMPDIR is not set, use "mktemp" to create a temp directory and set TMPDIR with that directory 3. Update the "ant clean" task to delete TMPDIR when we've generated it, or attempt the find-based cleanup if TMPDIR was provided Does anyone know if there are any hard-coded assumptions that test files will live directly under /tmp? Thanks, Derek -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+