Last modified: 2014-10-24 13:58:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74011, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72011 - Jenkins: Figure out long term solution for /tmp management
Jenkins: Figure out long term solution for /tmp management
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-14 06:19 UTC by Krinkle
Modified: 2014-10-24 13:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2014-10-14 06:19:58 UTC
While the VM testing will make this problem obsolete, depending on how far away this is, this is a high priority problem.

There are various kind of jobs, programs, utilities and other scripts run inside a Jenkins job that may produce output in /tmp. In some cases this is configurable and can be disabled. In other cases, it's just an artefact of a lower level program and really not feasible (nor reasonable) to make this configurable.

We shouldn't keep /tmp around for ever.

I propose one or both of:

1) Set the $TMPDIR environmental variable to something that is cleaned up.
  1a) Dedicated to the job. E.g. some Jenkins plugin that runs globally on all jobs and nukes the tmp dir after the job is run.
  1b) Dedicated to jenkins-slave. E.g. some generic /tmp/jenkins-slave dir that is purged by a cronjob we run on all contint slaves that will rm-rf items older than 6 hours.

2) Purge everything in /tmp older than 24 hours.
Comment 1 Antoine "hashar" Musso (WMF) 2014-10-14 08:05:35 UTC
Seems like a duplicate of Bug 68563 - Jenkins: point TMP/TEMP to workspace and delete it after build completion

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links