Alex Dadgar
a9e3a41407
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
08c2ba9bc6
Parallel client tests ( #2890 )
...
* alloc_runner
* Random tests
* parallel task_runner and no exec compatible check
* Parallel client
* Fail fast and use random ports
* Fix docker port mapping
* Make concurrent pull less timing dependant
* up parallel
* Fixes
* don't build chroots in parallel on travis
* Reduce parallelism on travis with lxc/rkt
* make java test app not run forever
* drop parallelism a little
* use docker ports that are out of the os's ephemeral port range
* Limit even more on travis
* rkt deadline
2017-07-22 19:04:36 -07:00
Alex Dadgar
789a5072a9
Parallel
2017-07-21 12:06:39 -07:00
Michael Schurter
8a7df57227
Test driver network advertisement and checks
2017-06-21 17:19:08 -07:00
Alex Dadgar
07f7e19578
Fix vet script and fix vet problems
...
This PR fixes our vet script and fixes all the missed vet changes.
It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Michael Schurter
33c015bcc7
Add Cleanup method to Driver interface
...
Cleanup can be used for cleaning up resources created by drivers to run
a task. Initially the Docker driver is the only user (to remove
downloaded images).
2017-01-11 17:23:33 -08:00
Michael Schurter
de7351b959
Move chroot building into TaskRunner
...
* Refactor AllocDir to have a TaskDir struct per task.
* Drivers expose filesystem isolation preference
* Fix lxc mounting of `secrets/`
2017-01-05 16:31:49 -08:00
Alex Dadgar
1a3585b572
Docker + Qemu
2016-10-10 11:47:04 -07:00
Alex Dadgar
4bae54741e
Secret dir materialized in alloc/task directory
2016-09-02 12:44:05 -07:00
Diptanu Choudhury
d2b072c7a6
fixed the qemu fingerprinter test
2016-08-24 12:25:02 -05:00
ramukima
e1db7009d8
issue-1588 : Allow extra driver config args as a passthrough for qemu executable from a task specification
2016-08-15 23:36:13 -04:00
Diptanu Choudhury
938d512f49
Not running tests parallal
2016-08-11 21:53:27 -07:00
Miquel Sabaté Solà
b41608df51
client/driver: added more tests
...
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com >
2016-03-24 08:47:23 +01:00
Alex Dadgar
4c1be8e637
Get tests to pass
2016-03-15 13:28:57 -07:00
Diptanu Choudhury
d94c28b39c
Fixed more tests
2016-02-10 13:54:54 -08:00
Alex Dadgar
dccbc0320b
Fix tests
2016-01-11 09:58:31 -08:00
Chris Hines
ffda9d71d4
Speed up tests by allowing parallel execution.
2015-11-25 15:56:55 -05:00
Alex Dadgar
c6c896bbea
Qemu driver takes a port_map to configure host to guest port forwarding
2015-11-17 20:54:53 -08:00
Diptanu Choudhury
0d69778873
Fixed compilation issues with driver tests
2015-11-16 13:10:57 -08:00
Alex Dadgar
5ec6aeaa39
Merge
2015-11-06 10:41:42 -08:00
Clint Shryock
0fe2ea9b04
add checksums to tests, formatting after rebase
2015-11-05 09:23:45 -06:00
Clint Shryock
add12a6a00
refactor drivers to use new getter
2015-11-05 08:55:30 -06:00
Abhishek Chanda
c8443fbe3c
Cleanup tests
...
- Consolidate checking if non-windows and if qemu is installed
- Fix non-windows check
2015-10-23 14:19:22 -07:00
Chris Bednarski
723b55c049
Merge branch 'master' into b-docker-fixes
...
Conflicts:
client/driver/docker_test.go
client/driver/java_test.go
client/driver/qemu_test.go
2015-09-25 18:35:23 -07:00
Chris Bednarski
f2dd5cac18
Added guards to tests so we can more gracefully degrade the test suite when thing are not installed
2015-09-25 16:49:26 -07:00
Alex Dadgar
8a5e65e27a
Merge qemu test
2015-09-25 16:49:14 -07:00
Clint Shryock
b0f09b5312
driver/qemu: Setup multiple port forwards
2015-09-23 23:15:28 -05:00
Clint Shryock
7580a0d3a0
Basic Qemu docs
2015-09-23 14:44:49 -05:00
Clint Shryock
92bfe163da
start the Qemu docs
2015-09-23 13:58:42 -05:00
Chris Bednarski
0e00b5fbf7
Updated Qemu and tests to use DriverContext
2015-09-09 18:38:52 -07:00
Clint Shryock
db5b3e7e12
driver/qemu: Require a memory resource on the task
2015-09-09 14:28:16 -05:00
Clint Shryock
f1c57a3441
driver/qemu: Basic lifecycle management of Qemu images
2015-09-08 16:08:49 -05:00