Commit Graph

1644 Commits

Author SHA1 Message Date
Diptanu Choudhury
4f79c017b5 Merge pull request #1572 from hashicorp/fix-docker-test
Fixed docker tests
2016-08-12 13:04:33 -07:00
Diptanu Choudhury
f0bab506f1 Updated the busybox images 2016-08-12 11:39:58 -07:00
Diptanu Choudhury
938d512f49 Not running tests parallal 2016-08-11 21:53:27 -07:00
Alex Dadgar
3d7876f229 Update test.sh 2016-08-11 21:35:50 -07:00
Diptanu Choudhury
e6aabd1af6 Fixed docker tests 2016-08-11 19:28:41 -07:00
Alex Dadgar
32172ec06a Merge pull request #1571 from hashicorp/t-logs-tests
Fixing logs tests on travis
2016-08-11 19:24:46 -07:00
Alex Dadgar
ddfae93941 Wrap file rotator tests in wait for 2016-08-11 19:23:03 -07:00
Alex Dadgar
17b9e7ddb4 only use polling 2016-08-11 18:59:48 -07:00
Diptanu Choudhury
a4fa10cd10 Merge pull request #1413 from hashicorp/b-tests
Fix flaky tests
2016-08-11 18:15:29 -07:00
Alex Dadgar
1929a533cd Update task_runner_test.go 2016-08-11 18:01:27 -07:00
Alex Dadgar
2c97235054 Fix task runner test 2016-08-11 13:16:17 -07:00
Kenjiro Nakayama
50ca5c7f71 Update after the review 2016-08-11 10:53:33 +09:00
Kenjiro Nakayama
fbb2d5cd5d Return error when client failed to collect host stats 2016-08-11 09:38:28 +09:00
Diptanu Choudhury
6811e084f4 Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Diptanu Choudhury
724a2a2111 Fixed some error messages 2016-08-10 15:17:32 -07:00
Diptanu Choudhury
d7612debe4 Merge pull request #1533 from nak3/fix-error-in-client
tiny: Return fmt.Errorf instead of duplicated error messages
2016-08-10 15:13:47 -07:00
Kenjiro Nakayama
fec9204dcc Update debug option from string to bool 2016-08-09 16:51:00 +09:00
Kenjiro Nakayama
c942f1d0be Add debug option to rkt task config 2016-08-09 09:01:05 +09:00
Kenjiro Nakayama
a02267ac75 Update after review 2016-08-09 08:57:26 +09:00
Kenjiro Nakayama
59c05eb64b tiny: Return fmt.Errorf instead of duplicated error messages 2016-08-09 08:57:26 +09:00
Jay Oster
bd0363b6a6 Fix Linux executor isolation test
- Properly expects the hard-coded mounts (alloc, dev, and proc) and hardcoded local directories (local and tmp)
- Also verifies that etc contains only the requested paths
2016-08-08 14:04:09 -07:00
Diptanu Choudhury
a950781203 Merge pull request #1532 from nak3/fix-fingerprint-cpu-log
tiny: Fix duplicated error message in CPU fingerprint
2016-08-08 13:44:49 -04:00
Diptanu Choudhury
09a199bdbb Merge pull request #1534 from nak3/fix-intask_runner
tiny: print task name and error message for SaveState error
2016-08-08 13:37:25 -04:00
Kenjiro Nakayama
32ce8939c7 tiny: print task name and error message for the SaveState error in task_runner 2016-08-07 13:33:58 +09:00
Kenjiro Nakayama
5e4dbd0ff3 tiny: Fix duplicated error message in CPU fingerprint 2016-08-07 12:49:40 +09:00
Kenjiro Nakayama
dd269abeb5 Update GetArtifact by removing unused logger 2016-08-06 23:37:32 +09:00
Diptanu Choudhury
f948c3732a Merge pull request #1477 from nak3/add-syslog_server-test
Add Syslog server start shutdown test
2016-08-05 12:01:24 -07:00
Alex Dadgar
9da215ed22 changelog + use driver config 2016-08-05 10:55:20 -07:00
Alex Dadgar
3c33c54957 Merge pull request #1493 from nak3/rkt-fix1
Pass command and trust_prefix to the validation of rkt task configuration
2016-08-05 10:52:02 -07:00
Alex Dadgar
a8cf9241f7 changelog 2016-08-05 10:47:44 -07:00
Kenjiro Nakayama
be177a0a3e Add Syslog server start shutdown test 2016-08-06 02:01:33 +09:00
Michal Wieczorek
d5ae1cb93e Set windows containers default network mode to 'nat' 2016-08-05 06:01:26 +02:00
Jay Oster
593669ada2 Address review comments
- Simplify map length check in Linux Executor
- Added a `chroot_env` test for config parser
- Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
- Added a test for `chroot_env` functionality
2016-08-04 15:33:06 -07:00
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
0b02b7ad5d Merge pull request #1475 from mwieczorek/windows-hostIp-portBindings
Empty host ip for windows containers port bindings
2016-08-04 13:30:43 -07:00
Alex Dadgar
ed08b5f5b8 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
Jay Oster
09f2fc9f8f Add chroot_env to Java driver (which uses the exec driver internally) 2016-08-04 11:15:35 -07:00
Kenjiro Nakayama
c2a38d6773 Add TestRktTaskValidate 2016-08-04 23:15:13 +09:00
Kenjiro Nakayama
6b72f2cbc1 Add TestRktTrustPrefix 2016-08-04 17:26:10 +09:00
Kenjiro Nakayama
4b68106f54 Pass command and trust_prefix to the validation of rkt task configuration 2016-08-04 17:24:56 +09:00
vrenjith
52c6201f4a Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
vrenjith
b686be0c9b Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Jay Oster
1876fc2b10 Add config field to specify chroot mapping for exec driver
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:

client {
  chroot_env {
    "/etc" = "/etc"
    "/lib" = "/lib"
    "/opt/projects/foo/bin" = "/usr/bin"
  }
}
2016-08-03 17:17:17 -07:00
Mathias Lafeldt
27d787e76c Test configuration of Docker working directory 2016-08-03 16:35:49 +02:00
Mathias Lafeldt
1ad79f8a19 Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Alex Dadgar
2d66cf0a7c use priviledge of the config 2016-08-02 16:10:15 -07:00
Alex Dadgar
c2a43d5540 remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Mathias Lafeldt
b0b3e5e1f6 Fix typo: atttempts 2016-08-02 18:11:03 +02:00
Diptanu Choudhury
3593649e18 Allow operators to opt into publishing node and alloc metrics 2016-08-01 19:52:20 -07:00
Kenjiro Nakayama
f48bbe86ae Fix gofmt in restarts_test.go 2016-07-30 21:11:06 +09:00