Commit Graph

2799 Commits

Author SHA1 Message Date
Diptanu Choudhury
84b31eff98 Changed a few comments 2016-02-05 18:07:06 -08:00
Diptanu Choudhury
abad46c423 Updated comment 2016-02-05 17:40:06 -08:00
Diptanu Choudhury
82c7f26bc3 Renamed the plugin log file 2016-02-05 17:07:02 -08:00
Diptanu Choudhury
f51e377f52 Reserving ports on windows 2016-02-05 15:17:15 -08:00
Diptanu Choudhury
57a1c13cc7 Entering the plugin pid into the cgroup after creating it 2016-02-05 13:16:29 -08:00
Diptanu Choudhury
218b9c1261 Using signals to test if proces is alive 2016-02-05 13:05:49 -08:00
Diptanu Choudhury
1ba696abe5 Added a test which shows userpid is killed when plugin can not be re-connected on calling Open 2016-02-05 11:37:13 -08:00
Diptanu Choudhury
b3d18a7a07 Added a test which isolates and constraints a process using the executor 2016-02-05 11:07:16 -08:00
Diptanu Choudhury
10958c463c Making the java driver apply resource constraints and limits 2016-02-05 10:55:03 -08:00
Diptanu Choudhury
8a81cee425 Filtered out the executor command 2016-02-05 10:51:29 -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
ab493c2fb3 Putting the plugin in the same cgroup as the user process 2016-02-05 00:11:09 -08:00
Diptanu Choudhury
49226c4a9c Fixing merge conflicts 2016-02-04 22:55:38 -08:00
Alex Dadgar
8701ce33ce changelog 2016-02-04 18:22:59 -08:00
Alex Dadgar
5b1c6f874f Merge pull request #760 from hashicorp/f-var-interprelation
Only interpret vars wrapped in braces
2016-02-04 18:21:42 -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
Alex Dadgar
0c46a0ec1d Fix tests 2016-02-04 17:27:58 -08:00
Alex Dadgar
8b55fd6b70 Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
Alex Dadgar
d5e6a9c29e CHANGELOG 2016-02-04 17:25:18 -08:00
Alex Dadgar
17a93b5730 Merge pull request #756 from hashicorp/f-download-location
Extract artifacts to the root of the task, not in the local directory
2016-02-04 17:22:11 -08:00
Alex Dadgar
f2b9e18b9e Merge pull request #757 from hashicorp/f-tmp
Add tmp folder to each task directory
2016-02-04 17:21:30 -08:00
Diptanu Choudhury
9800b7dcfe Updated the value of the magic cookie 2016-02-04 17:00:41 -08:00
Diptanu Choudhury
a3282cd0f7 Removed using ProcessState when we just want an empty interface 2016-02-04 17:00:41 -08:00
Diptanu Choudhury
ded50766c5 Added some docs 2016-02-04 17:00:41 -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
bc3ade3be9 Fixed creation of the command args 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
fe662ea648 Fixed a test related to wait 2016-02-04 17:00:39 -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
68d0848998 Moved qemu to executor plugin 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
8d24ddc296 Moving the java executor to the executor plugin 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
0fca2b8ee1 Making the wait asynchronous 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
d6c17424cc Turning on isolation for exec 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
f67a237361 Introduced the flag for the user 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
ed72a67ee0 Creating the universal executor 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
cca3f5f1bc Limiting resources on a process 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
81d46cd157 Fixed the path to the log files 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
c8a17597db Implemented the exec functioanlity for linux 2016-02-04 17:00:37 -08:00