Abhishek Chanda
|
2d3ccc1898
|
Fix missing import
|
2016-03-18 23:00:34 -07:00 |
Diptanu Choudhury
|
038a1bc2f9
|
Added some comments
|
2016-03-18 15:04:15 -07:00 |
Diptanu Choudhury
|
ddbf18f02a
|
Removing all the destroy logic from wait and calling exit after wait on all drivers
|
2016-03-18 12:04:11 -07:00 |
Diptanu Choudhury
|
3c7b83b393
|
Introduced a method in executor to launch syslog server
|
2016-03-18 11:49:10 -07:00 |
Alex Dadgar
|
40adf40549
|
document artifact downloading
|
2016-03-16 09:56:04 -07:00 |
Alex Dadgar
|
393807a677
|
Make user specified tasks executable
|
2016-03-15 19:22:40 -07:00 |
Alex Dadgar
|
79d7553cbf
|
executor: add /run/resolvconf to chroot
|
2016-03-10 15:05:49 -08:00 |
Alex Dadgar
|
0b12e74a6e
|
Add /sbin and /usr/sbin/ to chroot
|
2016-03-02 16:32:31 -08:00 |
Diptanu Choudhury
|
395d10eafc
|
Added a comment
|
2016-03-02 12:56:56 -08:00 |
Diptanu Choudhury
|
04cb13f3a5
|
Added a test for making sure executor destroy works
|
2016-03-02 11:05:08 -08:00 |
Diptanu Choudhury
|
aaa23154aa
|
Not killing the plugin while destroying the cgroup
|
2016-03-01 17:51:54 -08:00 |
Diptanu Choudhury
|
5748bd0516
|
Fixed the logic of cgroup creation
|
2016-03-01 17:01:45 -08:00 |
Diptanu Choudhury
|
47da0b02b3
|
Writing logs to alloc dir
|
2016-02-24 20:06:43 -08:00 |
Alex Dadgar
|
cc1b35a90c
|
client: standardize error logging format
|
2016-02-24 15:57:58 -08:00 |
Diptanu Choudhury
|
7fcbdf5a9b
|
Closing the rotators when the process finishes
|
2016-02-23 13:32:17 -08:00 |
Diptanu Choudhury
|
4873118cef
|
Making the log rotator a writer
|
2016-02-19 14:01:07 -08:00 |
Abhishek Chanda
|
2059cf221b
|
Separate arguments with a space while writing
|
2016-02-16 17:13:19 -08:00 |
Diptanu Choudhury
|
0d362c39e7
|
Fixed more client executor tests
|
2016-02-11 11:13:45 -08:00 |
Diptanu Choudhury
|
cd957a739a
|
Fixed the executor test
|
2016-02-11 10:58:18 -08:00 |
Diptanu Choudhury
|
3a12204ce5
|
Updated comments
|
2016-02-10 08:13:08 -08:00 |
Diptanu Choudhury
|
9d6eed1fb4
|
Merge branch 'master' into f-logrotator
|
2016-02-09 12:25:44 -08:00 |
Alex Dadgar
|
e7e7348727
|
Don't error killing exited process
|
2016-02-09 10:00:42 -08:00 |
Alex Dadgar
|
75473e88d2
|
Unmount special directories when task finishes
|
2016-02-08 18:51:11 -08:00 |
Diptanu Choudhury
|
1a13400f2d
|
Moved the destroycgroup method into executor
|
2016-02-08 16:08:29 -08:00 |
Diptanu Choudhury
|
32e24e257a
|
Appending names of sub-system before log lines
|
2016-02-08 14:47:10 -08:00 |
Diptanu Choudhury
|
6c85ed6c8e
|
Removing pathExists from executor
|
2016-02-08 14:40:54 -08:00 |
Diptanu Choudhury
|
e89bcf52b8
|
Moving code to mount and unmount chroot into allocdir
|
2016-02-08 14:11:53 -08:00 |
Diptanu Choudhury
|
e53ebc9e3c
|
Extracted the cgroup info into isolation struct
|
2016-02-08 13:48:26 -08:00 |
Diptanu Choudhury
|
088d2cba53
|
Making the plugin server return the same instance of executor rpc server
|
2016-02-08 11:56:48 -08:00 |
Diptanu Choudhury
|
b8e4941862
|
Fixed merge conflicts
|
2016-02-08 10:24:27 -08:00 |
Diptanu Choudhury
|
ea5a8c66ab
|
Implemented the UpdateLogConfig method
|
2016-02-08 10:10:01 -08:00 |
Diptanu Choudhury
|
f6f51a6926
|
Destroying the cgroup if we can't to executor in exec and java drivers
|
2016-02-08 10:05:39 -08:00 |
Diptanu Choudhury
|
1b9a54abec
|
Updated comment
|
2016-02-05 17:40:06 -08:00 |
Diptanu Choudhury
|
370dc41ca2
|
Renamed the plugin log file
|
2016-02-05 17:07:02 -08:00 |
Diptanu Choudhury
|
f4b32ae5fc
|
Entering the plugin pid into the cgroup after creating it
|
2016-02-05 13:16:29 -08:00 |
Diptanu Choudhury
|
918cc46d30
|
Added a test which isolates and constraints a process using the executor
|
2016-02-05 11:07:16 -08:00 |
Diptanu Choudhury
|
b788017574
|
Corrected comments and making the plugins write to unique log files
|
2016-02-05 10:49:54 -08:00 |
Diptanu Choudhury
|
08932e5bbc
|
Putting the plugin in the same cgroup as the user process
|
2016-02-05 00:11:09 -08:00 |
Diptanu Choudhury
|
91e7922f3b
|
Implemented log rotator for exec based drivers
|
2016-02-04 23:54:15 -08:00 |
Diptanu Choudhury
|
30d5bba131
|
Not syncing stdout and stderr of pluging with client
|
2016-02-04 17:36:31 -08:00 |
Diptanu Choudhury
|
a0ff83f44c
|
Added some docs
|
2016-02-04 17:00:41 -08:00 |
Diptanu Choudhury
|
f95b973c2c
|
Moved packages around
|
2016-02-04 17:00:41 -08:00 |
Diptanu Choudhury
|
356fb6abdb
|
Removed executor and spawn daemon
|
2016-02-04 17:00:39 -08:00 |
Alex Dadgar
|
a3c22258cd
|
Use TestMultiplier on all waits
|
2016-01-21 15:24:24 -08:00 |
Alex Dadgar
|
0406a3a190
|
Handle case that pid is dead in ForceStop
|
2016-01-21 14:09:04 -08:00 |
Alex Dadgar
|
1ceb6f012a
|
Fix a bunch of tests
Up timeouts
trusty travis beta
Increase timeouts
|
2016-01-20 16:03:53 -08:00 |
Alex Dadgar
|
6d157a0337
|
Fix tests
|
2016-01-11 09:58:31 -08:00 |
Alex Dadgar
|
3ba1c9b76b
|
merge
|
2016-01-11 09:58:26 -08:00 |
Kenneth Feng
|
a85b2c0e90
|
linux/exec: add /usr/share to ChrootEnv
|
2015-12-28 13:39:34 -05:00 |
Clint Shryock
|
77b5639160
|
Executors/Linux: Update Executor config struct
|
2015-12-17 10:25:42 -06:00 |
Diptanu Choudhury
|
f6fb42835e
|
Using cgo dependencies to look up users
|
2015-12-15 11:12:13 -08:00 |
Diptanu Choudhury
|
de06482506
|
Sending the user process sigint during shutdown on linux
|
2015-12-08 08:14:13 -08:00 |
Chris Bednarski
|
9292a97062
|
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
|
55e49506f0
|
Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
|
2015-12-01 11:59:55 -08:00 |
Diptanu Choudhury
|
29915ddd16
|
Moving the args to helper
|
2015-11-26 14:13:19 -08:00 |
Chris Hines
|
37745f66c9
|
Speed up tests by allowing parallel execution.
|
2015-11-25 15:56:55 -05:00 |
Chris Hines
|
5b2168bb12
|
Use package testtask and httptest.Server to make client/driver tests OS independent.
|
2015-11-25 15:56:20 -05:00 |
Chris Hines
|
46e848c8ec
|
Eliminate special case in production code for embedding test binary into chroot.
|
2015-11-25 15:31:29 -05:00 |
Chris Hines
|
d7ebe099c1
|
Factor portable test task out of client/driver/executor.
|
2015-11-24 20:59:42 -05:00 |
Alex Dadgar
|
c7cd7abe22
|
Inject the current binary into the chroot in test mode
|
2015-11-24 16:30:53 -08:00 |
Chris Hines
|
ea5a60629a
|
Fix Executor_Open_Invalid test for Windows.
|
2015-11-24 16:30:53 -08:00 |
Chris Hines
|
cb262d787f
|
Include Executor_Open_Invalid in test suite.
|
2015-11-24 16:30:53 -08:00 |
Chris Hines
|
769415dbd2
|
Improve names and documentation in test code.
|
2015-11-24 16:30:53 -08:00 |
Chris Hines
|
ec7e78680d
|
Use TestMain to provide portable echo, sleep, and write commands.
|
2015-11-24 16:30:53 -08:00 |
Chris Bednarski
|
655a4bf334
|
Fix some issues caught by go vet
|
2015-11-20 16:01:27 -08:00 |
Alex Dadgar
|
4d817f5cbc
|
Revert "Revert "Make drivers take arguments as a list and not as a string""
|
2015-11-18 15:16:42 -08:00 |
Alex Dadgar
|
0e51375285
|
Revert "Make drivers take arguments as a list and not as a string"
|
2015-11-18 13:46:43 -08:00 |
Alex Dadgar
|
6574fd27e3
|
Remove returning the error
|
2015-11-18 12:40:34 -08:00 |
Alex Dadgar
|
c04e2b8b8e
|
Fix executor tests
|
2015-11-18 12:29:04 -08:00 |
Alex Dadgar
|
54ddf4d3c1
|
Rebase
|
2015-11-18 12:29:04 -08:00 |
Chris Hines
|
713d63e467
|
Move test code to *_test.go file.
|
2015-11-18 14:46:56 -05:00 |
Chris Bednarski
|
9f40143684
|
Merge branch 'master' into f-port-labels
|
2015-11-16 16:02:38 -08:00 |
Alex Dadgar
|
82f51601db
|
Track Task State in the client and capture Wait results
|
2015-11-16 15:14:21 -08:00 |
Diptanu Choudhury
|
c5102975e3
|
Made the code more DRY
|
2015-11-16 13:10:57 -08:00 |
Diptanu Choudhury
|
4e05b27111
|
Implemented port labeling and driver configs
|
2015-11-16 13:10:57 -08:00 |
Alex Dadgar
|
90336a160e
|
Guard mounting dev/ and proc/ and TaskRunner_RestoreState test
|
2015-11-10 16:35:33 -08:00 |
Alex Dadgar
|
933498e388
|
Client Restore test
|
2015-11-10 16:03:18 -08:00 |
Alex Dadgar
|
2321bddf2e
|
Add Valid command to spawner and make executors check when opening
|
2015-11-06 11:23:27 -08:00 |
Alex Dadgar
|
f36685c7d2
|
Merge pull request #392 from hashicorp/f-raw-exec-use-exec
RawExec driver uses exec_basic
|
2015-11-06 10:48:55 -08:00 |
Alex Dadgar
|
71be38abe0
|
merge
|
2015-11-06 10:42:49 -08:00 |
Alex Dadgar
|
a5940ef25e
|
Merge
|
2015-11-06 10:41:42 -08:00 |
Alex Dadgar
|
d14bc26607
|
Calling incorrect executor build method
|
2015-11-05 11:54:51 -08:00 |
Alex Dadgar
|
04aecbda0b
|
Fix typo
|
2015-11-05 11:31:50 -08:00 |
Alex Dadgar
|
3cc2dd52b6
|
exec_basic uses Spawner; create shared test harness for executors
|
2015-11-05 09:58:57 -08:00 |
Alex Dadgar
|
587031f14d
|
Get rid of exec.cmd struct and setuid file
|
2015-11-04 17:20:52 -08:00 |
Alex Dadgar
|
4259d3a43c
|
Move the executor and spawn package into driver
|
2015-11-04 16:53:27 -08:00 |