Alex Dadgar
|
279f095a7d
|
Don't error killing exited process
|
2016-02-09 10:00:42 -08:00 |
|
Alex Dadgar
|
1a31340075
|
Unmount special directories when task finishes
|
2016-02-08 18:51:11 -08:00 |
|
Diptanu Choudhury
|
cc6e2b73f0
|
Moved the destroycgroup method into executor
|
2016-02-08 16:08:29 -08:00 |
|
Diptanu Choudhury
|
fbc3279da9
|
Appending names of sub-system before log lines
|
2016-02-08 14:47:10 -08:00 |
|
Diptanu Choudhury
|
de4417d8d8
|
Removing pathExists from executor
|
2016-02-08 14:40:54 -08:00 |
|
Diptanu Choudhury
|
747d3202ca
|
Moving code to mount and unmount chroot into allocdir
|
2016-02-08 14:11:53 -08:00 |
|
Diptanu Choudhury
|
41447a0d7c
|
Extracted the cgroup info into isolation struct
|
2016-02-08 13:48:26 -08:00 |
|
Diptanu Choudhury
|
9b2e117f68
|
Making the plugin server return the same instance of executor rpc server
|
2016-02-08 11:56:48 -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
|
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
|
57a1c13cc7
|
Entering the plugin pid into the cgroup after creating it
|
2016-02-05 13:16:29 -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
|
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
|
d8ed2949cd
|
Not syncing stdout and stderr of pluging with client
|
2016-02-04 17:36:31 -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
|
f1e2644623
|
Removed executor and spawn daemon
|
2016-02-04 17:00:39 -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
|
e91abac0f6
|
Fix a bunch of tests
Up timeouts
trusty travis beta
Increase timeouts
|
2016-01-20 16:03:53 -08:00 |
|
Alex Dadgar
|
dccbc0320b
|
Fix tests
|
2016-01-11 09:58:31 -08:00 |
|
Alex Dadgar
|
b8a42786f3
|
merge
|
2016-01-11 09:58:26 -08:00 |
|
Kenneth Feng
|
b03d94da1e
|
linux/exec: add /usr/share to ChrootEnv
|
2015-12-28 13:39:34 -05:00 |
|
Clint Shryock
|
dd6cc455fe
|
Executors/Linux: Update Executor config struct
|
2015-12-17 10:25:42 -06:00 |
|
Diptanu Choudhury
|
06443a6629
|
Using cgo dependencies to look up users
|
2015-12-15 11:12:13 -08:00 |
|
Diptanu Choudhury
|
d53591052e
|
Sending the user process sigint during shutdown on linux
|
2015-12-08 08:14:13 -08:00 |
|
Chris Bednarski
|
8267ffe8a6
|
Merge branch 'user-lookup-nocgo' of https://github.com/carlosdp/nomad into b-user-lookup
|
2015-12-01 13:44:56 -08:00 |
|
Carlos Diaz-Padron
|
eeaa84d52e
|
Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
|
2015-12-01 11:59:55 -08:00 |
|
Diptanu Choudhury
|
0c499f78b3
|
Moving the args to helper
|
2015-11-26 14:13:19 -08:00 |
|
Chris Hines
|
ffda9d71d4
|
Speed up tests by allowing parallel execution.
|
2015-11-25 15:56:55 -05:00 |
|
Chris Hines
|
d707adc3ed
|
Use package testtask and httptest.Server to make client/driver tests OS independent.
|
2015-11-25 15:56:20 -05:00 |
|
Chris Hines
|
ef7388549d
|
Eliminate special case in production code for embedding test binary into chroot.
|
2015-11-25 15:31:29 -05:00 |
|
Chris Hines
|
fd4ec821f9
|
Factor portable test task out of client/driver/executor.
|
2015-11-24 20:59:42 -05:00 |
|
Alex Dadgar
|
8afce68bf0
|
Inject the current binary into the chroot in test mode
|
2015-11-24 16:30:53 -08:00 |
|
Chris Hines
|
376e192867
|
Fix Executor_Open_Invalid test for Windows.
|
2015-11-24 16:30:53 -08:00 |
|
Chris Hines
|
ded2aeab2e
|
Include Executor_Open_Invalid in test suite.
|
2015-11-24 16:30:53 -08:00 |
|
Chris Hines
|
43f3c43ec0
|
Improve names and documentation in test code.
|
2015-11-24 16:30:53 -08:00 |
|
Chris Hines
|
3f6c115440
|
Use TestMain to provide portable echo, sleep, and write commands.
|
2015-11-24 16:30:53 -08:00 |
|
Chris Bednarski
|
fc95a3c9dc
|
Fix some issues caught by go vet
|
2015-11-20 16:01:27 -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
|
5aaa0553cf
|
Remove returning the error
|
2015-11-18 12:40:34 -08:00 |
|
Alex Dadgar
|
c6a895aff7
|
Fix executor tests
|
2015-11-18 12:29:04 -08:00 |
|
Alex Dadgar
|
ee1887e609
|
Rebase
|
2015-11-18 12:29:04 -08:00 |
|
Chris Hines
|
9666f450e7
|
Move test code to *_test.go file.
|
2015-11-18 14:46:56 -05: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 |
|