Commit Graph

54 Commits

Author SHA1 Message Date
Diptanu Choudhury
951b5532fd Added a test to make sure task runner is collecting stats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
68ec1f37ad Implemented the resource usage ts since a time 2016-05-28 19:59:20 -07:00
Alex Dadgar
ff6028bd56 Test task failure killing TG and fix setting the task as received on a restore 2016-03-25 12:51:40 -07:00
Alex Dadgar
cd89a97529 Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Alex Dadgar
dc6531cee7 Test task runner downloading artifacts 2016-03-15 14:34:25 -07:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Alex Dadgar
eb76d6d623 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Alex Dadgar
cc90670210 Fix tests 2016-02-03 19:58:39 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar
5d297a446f Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Alex Dadgar
d04fc2647c Fix test 2016-02-02 17:35:06 -08:00
Alex Dadgar
019883c5b1 Clean interaction between alloc-runner and task-runner 2016-02-02 11:09:29 -08:00
Alex Dadgar
e0c23ec2cd Use TestMultiplier on all waits 2016-01-21 15:24:24 -08:00
Alex Dadgar
6620eccba9 Handle case that pid is dead in ForceStop 2016-01-21 14:09:04 -08:00
Alex Dadgar
50d5fb7db6 Bump again 2016-01-21 12:55:35 -08:00
Alex Dadgar
85a2c05697 Time Duration fixes 2016-01-21 12:29:13 -08:00
Alex Dadgar
e91abac0f6 Fix a bunch of tests
Up timeouts

trusty travis beta

Increase timeouts
2016-01-20 16:03:53 -08:00
Alex Dadgar
b46bb0a02d Make NewRestartTracker private 2015-12-18 12:17:54 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
ed04b11862 Fixed tests 2015-12-14 15:47:01 -08:00
Diptanu Choudhury
568006247d Making a struct to hold consul service config 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
6af01d2d6f Muted the consul debug messages 2015-12-11 09:06:03 -08:00
Diptanu Choudhury
eedc99ccda Fixed the build 2015-11-25 14:45:28 -08:00
Diptanu Choudhury
b0c8cf6e36 Renamed consul client to service 2015-11-24 12:34:26 -08:00
Alex Dadgar
7357979089 Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar
d0ebac1513 More test fixes 2015-11-18 12:30:42 -08:00
Diptanu Choudhury
6d81111995 Added the option to configure consul address 2015-11-18 05:15:52 -08:00
Diptanu Choudhury
4221cda6f7 Added a logger to consul client 2015-11-18 02:14:07 -08:00
Diptanu Choudhury
9a578c5c0d Added the implementation of consul client 2015-11-18 00:50:45 -08:00
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar
f4b461f97a Track Task State in the client and capture Wait results 2015-11-16 15:14:21 -08:00
Diptanu Choudhury
5c95e7f0dc Fixed the client tests 2015-11-16 13:10:57 -08:00
Alex Dadgar
6e19dadcae Check for previous embeds at entry level not folder level 2015-11-10 18:10:02 -08:00
Alex Dadgar
59368b70da Enable AllocRunner_SaveRestoreState test 2015-11-10 16:53:59 -08:00
Alex Dadgar
69fdac69ed Update test 2015-11-10 16:49:38 -08:00
Alex Dadgar
a16c94902e Increase time out 2015-11-10 16:37:17 -08:00
Alex Dadgar
ce8856daf4 Guard mounting dev/ and proc/ and TaskRunner_RestoreState test 2015-11-10 16:35:33 -08:00
Diptanu Choudhury
fb8f922f2e Passing in the AllocID to exec context so that it can be used in the drivers 2015-11-05 18:34:04 -08:00
Diptanu Choudhury
cf76e3a456 Passing restart tracker in the task runner 2015-11-05 16:38:19 -08:00
Diptanu Choudhury
2e168af9d3 Cleaned up the logic to calculate restart duration 2015-11-05 15:16:29 -08:00
Diptanu Choudhury
a6c06c7279 Setting the restart policy to AllocRunner and Task Runners 2015-11-05 11:13:04 -08:00
Alex Dadgar
0dd0bf39fa Destroy allocdirs in task runner tests 2015-09-25 16:49:19 -07:00
Alex Dadgar
8a5e65e27a Merge qemu test 2015-09-25 16:49:14 -07:00
Alex Dadgar
dfd0efbacd Client init rebase 2015-09-25 16:46:41 -07:00
Chris Bednarski
0923fafc7b All the TestTaskRunner* tests want this 2015-09-24 16:00:36 -07:00
Chris Bednarski
f765fa4d1a Initialize reserved ports 2015-09-24 15:55:41 -07:00
Chris Bednarski
aee65a3c12 Missed a set of parens 2015-09-24 15:40:32 -07:00
Chris Bednarski
f61445c6ed Initialize reserved ports in task_runner 2015-09-24 15:37:43 -07:00