Commit Graph

78 Commits

Author SHA1 Message Date
Diptanu Choudhury
e6fcd0ec20 Removing taskDir from the exechandle 2016-02-09 10:21:47 -08:00
Diptanu Choudhury
a97181157c Killing the userpid if the plugin is killed while the client is running 2016-02-09 10:17:33 -08:00
Alex Dadgar
e696c7eef7 Fix timeouts between signal and kill 2016-02-08 19:31:57 -08:00
Alex Dadgar
1a31340075 Unmount special directories when task finishes 2016-02-08 18:51:11 -08:00
Diptanu Choudhury
8b2f94ff6f Added a test for merge 2016-02-08 16:27:31 -08:00
Diptanu Choudhury
cc6e2b73f0 Moved the destroycgroup method into executor 2016-02-08 16:08:29 -08:00
Diptanu Choudhury
25d456a8ce Unmounting dev and proc when open can't reconnect with the plugin process 2016-02-08 14:31:03 -08:00
Diptanu Choudhury
41447a0d7c Extracted the cgroup info into isolation struct 2016-02-08 13:48:26 -08:00
Diptanu Choudhury
70f7b2d70f Setting defaults for client max and min port 2016-02-08 13:29:53 -08:00
Diptanu Choudhury
d7a772c52b Destroying the cgroup if we can't to executor in exec and java drivers 2016-02-08 10:05:39 -08:00
Diptanu Choudhury
84b31eff98 Changed a few comments 2016-02-05 18:07:06 -08:00
Diptanu Choudhury
82c7f26bc3 Renamed the plugin log file 2016-02-05 17:07:02 -08:00
Diptanu Choudhury
2533156b9e Corrected comments and making the plugins write to unique log files 2016-02-05 10:49:54 -08:00
Diptanu Choudhury
49226c4a9c Fixing merge conflicts 2016-02-04 22:55:38 -08:00
Diptanu Choudhury
dcd171a320 Running processes with exec as nobody 2016-02-04 17:49:47 -08:00
Diptanu Choudhury
d8ed2949cd Not syncing stdout and stderr of pluging with client 2016-02-04 17:36:31 -08:00
Diptanu Choudhury
2b8cdc47d3 Moved packages around 2016-02-04 17:00:41 -08:00
Diptanu Choudhury
b3f1617298 Added tests for the executor 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
5ea6b85e76 Destroying the plugin if we can't connect to it 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
d24f089273 Removed duplicate code 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
443acc1520 Fixing the id generation logic for the java and qemu drivers 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
d7a03de368 Fixed the raw_exec_driver tests 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
dbfe40798f Fixed the kill test 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
797d9b8c47 Fixed the wait rpc server 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
fedf3c791b Fixed a test 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
837b462f5c Fixed a comment 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
0a92842162 Fixed the rpc server 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
f1e2644623 Removed executor and spawn daemon 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
560cafbddd Enabling logs and killing the plugin if we couldn't start the job 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
d6c17424cc Turning on isolation for exec 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
9b82079754 Killing the plugin after wait returns 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
b53cf69448 Using the plugin to spawn processes from the raw_exec driver 2016-02-04 17:00:37 -08:00
Diptanu Choudhury
dbb3570d59 Fixed the executor command 2016-02-04 17:00:37 -08:00
Diptanu Choudhury
d0f53c8586 Using a plugin to create the executor 2016-02-04 17:00:37 -08:00
Alex Dadgar
ca69bcd18b Extract artifacts to the root of the task, not in the local directory 2016-02-04 15:18:22 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Ivo Verberk
0289252ce7 Add comments and small improvements to cgroup fingerprinter 2016-01-29 14:34:29 +01:00
Ivo Verberk
117e035a98 Only enable exec driver when cgroups are available
Make the exec driver fingerprinter periodic to disable the driver when
cgroups become unavailable.
2016-01-27 07:32:32 +01:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -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
ee1887e609 Rebase 2015-11-18 12:29:04 -08:00
Chris Bednarski
640337547a go fmt 2015-11-16 16:23:03 -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
c01f2a38f5 Made the code more DRY 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
76a005b0f1 Fixed the exec driver config 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
4186e70320 Making the config for drivers public 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7f6e940946 Implemented port labeling and driver configs 2015-11-16 13:10:57 -08:00