Commit Graph

53 Commits

Author SHA1 Message Date
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
54d7057912 Writing logs to alloc dir 2016-02-24 20:06:43 -08:00
Alex Dadgar
4afa44c15e driver.test: remove redundant tests 2016-02-23 14:41:52 -08:00
Diptanu Choudhury
d94c28b39c Fixed more tests 2016-02-10 13:54:54 -08:00
Diptanu Choudhury
c8ac49bc91 Removing the killing executor pid tests 2016-02-09 11:29:02 -08:00
Diptanu Choudhury
ed26cb56cc Merge branch 'r-executor-plugin' of github.com:hashicorp/nomad into r-executor-plugin 2016-02-09 10:17:44 -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
f2efece810 more time 2016-02-09 09:43:40 -08:00
Alex Dadgar
e696c7eef7 Fix timeouts between signal and kill 2016-02-08 19:31:57 -08:00
Diptanu Choudhury
0dcdaf50af Fixed a test 2016-02-08 19:00:26 -08:00
Diptanu Choudhury
84b31eff98 Changed a few comments 2016-02-05 18:07:06 -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
49226c4a9c Fixing merge conflicts 2016-02-04 22:55:38 -08:00
Alex Dadgar
0c46a0ec1d Fix tests 2016-02-04 17:27:58 -08:00
Diptanu Choudhury
dbfe40798f Fixed the kill test 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
fedf3c791b Fixed a test 2016-02-04 17:00:39 -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
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
e0c23ec2cd Use TestMultiplier on all waits 2016-01-21 15:24:24 -08:00
Alex Dadgar
85a2c05697 Time Duration fixes 2016-01-21 12:29:13 -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
Chris Hines
ffda9d71d4 Speed up tests by allowing parallel execution. 2015-11-25 15:56:55 -05: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
62a0c5d14c Rebase 2015-11-18 12:30:35 -08:00
Alex Dadgar
ee1887e609 Rebase 2015-11-18 12:29:04 -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
0d69778873 Fixed compilation issues with driver tests 2015-11-16 13:10:57 -08:00
Alex Dadgar
a355e5889c Enable Open tests for Exec/Java 2015-11-10 16:59:52 -08:00
Clint Shryock
0fe2ea9b04 add checksums to tests, formatting after rebase 2015-11-05 09:23:45 -06:00
Alex Dadgar
3576f48993 Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that 2015-11-02 20:28:37 -08:00
Alex Dadgar
ecdc1c92b6 Exec driver only applies on linux as root 2015-10-28 17:22:04 -07:00
Clint Shryock
1e07daa680 drivers: Add/Use go-getter to fetch remote binaries
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
2015-10-26 09:40:06 -05:00
Alex Dadgar
5bf2ad0261 Docker alloc dir tests and test fixes 2015-10-15 16:59:08 -07:00
Alex Dadgar
1098e562fc Privileged exec driver 2015-10-08 12:19:39 -07:00
Alex Dadgar
6d8a913242 ParseAndReplace args at the executor level 2015-09-27 17:37:24 -07:00
Alex Dadgar
04094cfb40 Small test cleanup 2015-09-25 17:55:29 -07:00
Chris Bednarski
559462b49f Added basic resources to exec/java tests so each test has cpu, ram, and network 2015-09-25 16:49:18 -07:00
Alex Dadgar
8a5e65e27a Merge qemu test 2015-09-25 16:49:14 -07:00
Clint Shryock
e434d938af executor/linux: Add UUID for the name, return error on failure to apply 2015-09-21 09:08:57 -07:00
Clint Shryock
15e64312b7 spike on adding cgroups 2015-09-21 09:08:57 -07:00
Chris Bednarski
0e00b5fbf7 Updated Qemu and tests to use DriverContext 2015-09-09 18:38:52 -07:00
Chris Bednarski
f911a24837 Added config to drivers; needed for docker driver to get the socket endpoint 2015-09-08 12:43:02 -07:00
Clint Shryock
e7c88f1bcf move test logger to shared file 2015-09-01 16:56:42 -05:00
Armon Dadgar
4308c69bcc driver/exec: basic implementation 2015-08-29 16:20:07 -07:00