Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Nick Hurley ed3609f125 Make help work in stoneridge programs again
Automagically parsing out the log information had screwed up help output
from programs when -h or --help was passed in (but not any other way)
because the ArgumentParser for getting log filename was intercepting
that. By having it not generate its own help, we fix that issue.
2013-02-01 16:21:53 -08:00
Nick Hurley 709f4b8d19 Saner handling for unit tests in the runner 2013-02-01 16:00:07 -08:00
Nick Hurley ad165755fa Fix running xpcshell
Had missed a reference to an old global variable that now needs to be
determined at runtime in run_spcshell (specifically, the xpcshell
variable). This fixes that, as well as adds some logging of the
xpcshell command line being run.
2013-02-01 15:50:51 -08:00
Nick Hurley c804e76ce0 Modernize more except clauses 2013-02-01 15:00:56 -08:00
Nick Hurley 394e222774 Add support for running as a unit test
This lets things like the worker know not to call any subprocesses
2013-02-01 11:30:26 -08:00
Nick Hurley 251714045f Add more logging in RPC calls 2013-01-31 14:47:28 -08:00
Nick Hurley 0f20475d66 Get channel properly in RPC Caller. It's a function, moron. 2013-01-31 14:29:29 -08:00
Nick Hurley 5a2cdc2ccf Make enqueuing a new test run work
* Was missing a couple arguments to the function
* Also need to handle operating systems/netconfigs properly
2013-01-31 13:31:13 -08:00
Nick Hurley a0a1364c85 Make config filename available
This is for programs that need to pass it to sub-programs (master,
cloner, worker).
2013-01-31 12:54:36 -08:00
Nick Hurley 1ca0bd2395 Make process runner work from daemons 2013-01-30 15:11:39 -08:00
Nick Hurley 956ea02da3 Make queue handlers not barf on missing json module 2013-01-30 15:11:18 -08:00
Nick Hurley 298c502539 Fix daemonization for stoneridge programs 2013-01-29 14:11:00 -08:00
Nick Hurley 4be4c7b98a Some bug fixes for master 2013-01-29 14:08:53 -08:00
Nick Hurley 32bc0d2d58 Make deferrer run in background 2013-01-15 12:33:02 -08:00
Nick Hurley f9526af8c0 More extensible argument parsing for OSes and NCs 2013-01-15 11:43:03 -08:00
Nick Hurley e27a5196ac Add code to run the nightly tests 2013-01-15 10:19:46 -08:00
Nick Hurley fb27bdf800 Daemonize queue listeners 2013-01-11 11:36:55 -08:00
Nick Hurley bf29569c03 Use the new config files everywhere 2013-01-11 08:48:18 -08:00
Nick Hurley 473989f2d1 More work on better stuffs 2013-01-10 15:58:12 -08:00
Nick Hurley 108933079b Start work on making the stoneridge module less complex 2013-01-10 13:52:50 -08:00
Nick Hurley 5aaa87c6ec Make constant uppercase 2013-01-10 12:54:41 -08:00
Nick Hurley dda2b2d6cd Get rid of update functionality, it's worthless 2013-01-10 12:30:21 -08:00
Nick Hurley 3b5fcef9f8 Make queue config variables "hidden"
They're prefixed with _ so they don't pollute the general namespace that
is usable by subclasses. This also changes self.setup to take arguments,
namely those arguments sent to __init__ that aren't handled directly by
__init__. This is instead of using self.args (which has been renamed
self._args, and should stay hidden in the parent class unless absolutely
necessary).
2013-01-10 10:59:08 -08:00
Nick Hurley bf2b18486b Add worker process to replace cron job 2013-01-09 14:48:20 -08:00
Nick Hurley b45eec352b First whack at a scheduler 2013-01-09 14:00:12 -08:00
Nick Hurley 32a4ab151b Make queue an __init__ arg for QueueListener, not a class variable 2013-01-09 13:49:40 -08:00
Nick Hurley 81d482092b Lots of fixes
*stoneridge.logdir is no longer needed
*Makes the cloner work
*Makes the master run cloner correctly (I think)
2013-01-09 13:02:54 -08:00
Nick Hurley 6041b4f688 Handle default needs to take kwargs 2013-01-04 15:59:49 -08:00
Nick Hurley abb653f926 Use constants for queue names 2013-01-04 15:52:03 -08:00
Nick Hurley e9c23757f6 Start work on stoneridge master process 2013-01-04 14:49:21 -08:00
Nick Hurley d57cd2fb87 Add logging for master cronjobs 2012-11-08 11:31:47 -08:00
Nick Hurley 4f0cf68693 Add logging to central stoneridge code 2012-11-01 14:15:28 -07:00
Nick Hurley 030154b48d p != P 2012-11-01 10:52:48 -07:00
Nick Hurley 76d3752bc7 Minor tweaks to stoneridge module logging 2012-10-31 15:47:28 -07:00
Nick Hurley 97eca6d085 Start move to using logging module for better output 2012-10-31 15:08:52 -07:00
Nick Hurley 78f6dafdbc Make all build IDs unique 2012-09-25 11:27:22 -07:00
Nick Hurley e4ac83cffd Disable debug by default 2012-07-31 09:26:19 -07:00
Nick Hurley fb3ae78483 Make the cloner clean up after itself 2012-07-24 10:17:21 -07:00
Nick Hurley 54b8d2bff8 Fix xpcshell running 2012-06-19 15:01:00 -07:00
Nick Hurley 9e7e48a64c Make runner work 2012-05-14 15:24:29 -07:00
Nick Hurley 228e2ad51c Fix getting xpcshell temp directory 2012-05-10 11:23:39 -07:00
Nick Hurley 4f82624408 Fix incorrect usage of configparser 2012-05-10 10:36:54 -07:00
Nick Hurley 05e1bbf3f0 Fix missing global declaration 2012-05-09 21:04:31 -07:00
Nick Hurley 1cc58bcc3d Fix usage of config file - centralize reading functionality, distribute actual reading 2012-05-09 20:51:09 -07:00
Nick Hurley 04fa82cdf9 Start work on the dns updater - based on neckonet dns updater 2012-05-07 16:50:04 -07:00
Nick Hurley ad7cc7a56b Add in network configuration to platform info 2012-05-07 16:32:11 -07:00
Nick Hurley 154d501b29 Be smarter about where we stick output from xpcshell 2012-05-03 15:25:10 -07:00
Nick Hurley 5095c6b3f0 Memoize xpcshell temp dir 2012-05-01 14:14:10 -07:00
Nick Hurley bd7848cbff Make downloader work properly 2012-05-01 13:29:07 -07:00
Nick Hurley b54b5e2617 More syntax fixups 2012-05-01 11:45:51 -07:00