https://bugzilla.wikimedia.org/show_bug.cgi?id=71128

--- Comment #1 from Antoine "hashar" Musso <[email protected]> ---
> * The tmpfs partition is way too small (~ 500MB).

/var/lib/jenkins/tmpfs is only 512MB because that is a tmpfs, hence it consumes
RAM.

> * Stuff isn't being purged.

At least sqlite files are purged since
https://gerrit.wikimedia.org/r/#/c/102149/ :

  mw-install-sqlite.sh:find "$SQLITE_DIR" -type f -name '*.sqlite' -mmin +60
-delete

> * These are not regular build artefacts (which Jenkins stores separately and 
> we do have them expire/purge properly).
> * These are files only needed for the duration of the test and should be 
> removed right after a test has run.

Seems that is covered by bug 68563 "Jenkins: point TMP/TEMP to workspace and
delete it after build completion".

Looking on gallium, the main offenders are the qunit jobs, each consume ~ 7MB
and we have ten of them for mediawiki-core-qunit. Seem we had a surge of tests
running over an hour.



The find -mtime 60 is pretty lame. Since then I found a way to have a task to
run on build completion which is the 'postbuildscript' publisher.  The qunit
jobs already have such a macro  qunit-cleanup (in macro.yaml), so we can just
add a step that would delete the sqlite file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to