Current time: 04-01-2020, 08:10 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archiving + CRON
02-05-2015, 02:33 PM (This post was last modified: 02-05-2015 02:34 PM by kevinrdixon.)
Post: #8
RE: Archiving + CRON
(02-04-2015 07:42 PM)andydavies Wrote:  There's the cron job that call's getwork, and I'm pretty sure that somewhere in this the archive process is being triggered - though I haven't worked out quite which one of the possibilities it is.

work/workdone.php calls work/postprocess.php, which in turn calls ArchiveTest(id, false) in archive.inc. That second parameter is crucial - it means the test info isn't saved into testinfo.json. This, I presume, is why these tests are ignored by cli/archive.php - it must use the testinfo.json objects for identifying tests.

So, there are two outcomes of this:
1. If you have archiving set up, every test run is archived straight away, but the test data remains on the WPT server.
2. These tests will never be 'properly' archived - that is, the files being removed from the WPT server.

The consequence is that eventually the WPT server will run out of disk space, even with archiving switched on.

I'm wondering whether postprocess.php should call ArchiveTest(id, true), or indeed not call ArchiveTest() at all and leave it up to an archive cron job?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Archiving + CRON - kevinrdixon - 02-03-2015, 08:02 PM
RE: Archiving + CRON - pmeenan - 02-04-2015, 12:23 AM
RE: Archiving + CRON - kevinrdixon - 02-04-2015, 12:27 AM
RE: Archiving + CRON - pmeenan - 02-04-2015, 12:57 AM
RE: Archiving + CRON - kevinrdixon - 02-04-2015, 03:53 PM
RE: Archiving + CRON - andydavies - 02-04-2015, 07:42 PM
RE: Archiving + CRON - kevinrdixon - 02-05-2015 02:33 PM
RE: Archiving + CRON - pmeenan - 02-04-2015, 11:59 PM
RE: Archiving + CRON - pmeenan - 02-06-2015, 04:17 AM
RE: Archiving + CRON - pmeenan - 02-06-2015, 04:20 AM
RE: Archiving + CRON - suraj - 03-31-2015, 10:33 PM
RE: Archiving + CRON - pmeenan - 04-01-2015, 11:35 PM
RE: Archiving + CRON - suraj - 04-02-2015, 03:21 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)