Put a 5-second CPU time limit on the log processing pipeline.

[?]
Jun 2, 2013, 12:34 PM
X6RB5HQ6YQWEA6CYQRQ56UOB6ORSNCXBBCX2W2BSR3Q2IQKVROXQC

Dependencies

  • [2] 6F4UNDTC * Provide access to the raw, non-pretty-printed logfiles.
  • [3] MMDLWWZ2 automatic reload of tail log when build is running
  • [4] SAIUFDP3 hydra: make sure viewing logs works when logs are bz2'd
  • [5] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [6] RBHHV7P7 * Read logs using logContents function in stead of handling it everywhere separately.
  • [7] ZH6B56XR Try harder to find build logs
  • [8] LBNVQXUB * Build the /build stuff in a separate controller.
  • [9] KLSDJV75 Serve raw uncompressed logs directly

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 161
    [2.679][2.679:723]()
    $c->stash->{logtext} = `$pipeline`;
    [2.679]
    [2.723]
    $c->stash->{logtext} = `ulimit -t 5 ; $pipeline`;