Alex Dadgar
704bfcefa5
Changelog
2016-07-13 15:34:40 -06:00
Alex Dadgar
640fc0f875
Changelog
2016-07-13 14:40:10 -06:00
Alex Dadgar
47f163b087
Merge pull request #1421 from hashicorp/f-system-count-zero
...
Allow count 0 on system jobs
2016-07-13 14:39:23 -06:00
Alex Dadgar
d3906b0fd4
Allow count 0 on system jobs
2016-07-13 13:50:08 -06:00
Diptanu Choudhury
4b214f30f5
Merge pull request #1383 from hashicorp/f-job-summary
...
Job Summary - Part 1
2016-07-13 13:34:27 -06:00
Diptanu Choudhury
04b24cf9ec
Fixed typos in comments
2016-07-13 13:25:07 -06:00
Diptanu Choudhury
42ba68a201
Removing the queued state of Job Summary and alloc desired status false
2016-07-13 13:20:46 -06:00
Alex Dadgar
7494c942ce
Changelog
2016-07-12 17:24:23 -06:00
Alex Dadgar
887a2e947f
Merge pull request #1404 from hashicorp/f-streaming
...
Implement a streaming API and tail in the fs command
2016-07-12 17:23:04 -06:00
Alex Dadgar
19ca6e7b55
address comments
2016-07-12 17:01:33 -06:00
Diptanu Choudhury
3c1e657a06
Renamed jobsummary to job_summary
2016-07-12 16:00:35 -06:00
Diptanu Choudhury
61d59ab71d
Refactored the test
2016-07-12 14:37:51 -06:00
Diptanu Choudhury
97df5d2bdf
Accounting lost state of allocations
2016-07-12 14:27:45 -06:00
Alex Dadgar
1d717ea9be
changelog
2016-07-12 13:53:43 -06:00
Alex Dadgar
3f511eb4cb
Merge pull request #1403 from hashicorp/f-hold-rpc
...
Gracefully handle short lived outages by holding RPC calls
2016-07-12 13:52:33 -06:00
Diptanu Choudhury
e191c3185a
Added a method for listing jobs whose id matches a prefix
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
e1fc445b4d
Added a test to ensure client alloc updates are happening properly
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a417ef4d14
Updated logic to handle change in desired status of allocation when client status is still pending
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
8bfdb729fb
Added test for job summary restore
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
3c9d340996
Added methods to save and restore job summary snapshots
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
ce43ad613e
handled the logic of task group count going up
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
7b51b58edc
Added a test to ensure correctness of job summary when client updates alloc
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
b121f9c4d4
Added test to make sure summary gets deleted when job gets deleted
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a780955f23
Implemented logic to update the job summary when allocs are inserted
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
f98be5daf3
Implemented job state accounting logic for upsert job
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
fe40544455
Added a schema for summarizing status of jobs
2016-07-12 11:41:13 -06:00
Diptanu Choudhury
5798a23813
Merge pull request #1410 from hashicorp/f-client-lost-state
...
Changing the state of an allocation to lost if the node on which it w…
2016-07-12 11:30:08 -06:00
Diptanu Choudhury
76b913c519
Handling allocations with client state pending
2016-07-12 11:29:23 -06:00
Alex Dadgar
ffb57ffd6f
Address more comments
2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c
Tests and handle conn close behavior better
2016-07-12 10:18:48 -06:00
Alex Dadgar
1f8d70c1cd
version bump
2016-07-12 09:53:28 -06:00
Alex Dadgar
20b619380d
Merge pull request #1405 from novilabs/delay-on-startup-failure
...
do not fail for multiple startup failures, delay instead
2016-07-12 09:51:40 -06:00
Sean Chittenden
3ff6f63ad7
Use anchored regexp for filtering vendored tests
2016-07-12 02:15:42 -04:00
Cameron Davison
f88432427a
test policy delay for startup error
2016-07-11 20:54:36 -05:00
Cameron Davison
f255464bf4
if policy mode is delay, do not fail for multiple startup failures, delay instead
2016-07-11 20:40:53 -05:00
Diptanu Choudhury
da591a262e
Changing the state of an allocation to lost if the node on which it was running was marked as down
2016-07-11 18:24:04 -06:00
Sean Chittenden
b0fa994692
Merge pull request #1409 from hashicorp/f-client-lost-state
...
Skipping travis tests and not installing rkt on travis
2016-07-11 17:52:38 -04:00
Sean Chittenden
8e8f2c1378
Merge pull request #1408 from hashicorp/b-speedup-unit-tests
...
Remove xargs(1) from testing and rely on `go test -v`.
2016-07-11 17:51:56 -04:00
Diptanu Choudhury
cab0d3eea7
Introduced an env var for rkt tests
2016-07-11 15:48:16 -06:00
Diptanu Choudhury
1b137e4344
Skipping travis tests and not installing rkt on travis
2016-07-11 15:10:09 -06:00
Sean Chittenden
9615524352
... oh wow. This is an "improvement."
2016-07-11 13:06:00 -07:00
Sean Chittenden
25ac71b8b5
When sudo(1)'ing to run the tests, use the abspath of the current user's
...
go(1) instead of whatever is in root's PATH.
2016-07-11 12:49:26 -07:00
Sean Chittenden
e00d4cae6a
Add debugging to figure out why Travis can't find go(1) when sudo'ing
...
but xargs(1) could.
2016-07-11 12:41:14 -07:00
Sean Chittenden
1e6c04ccfa
Remove xargs(1) from testing and rely on go test -v.
...
Tests are approaching 30min largely due to recompiling every package.
Out of a ~30min build, only ~5min are actually spent running the tests,
the remaining time is spent recompiling.
2016-07-11 12:31:21 -07:00
Sean Chittenden
54b8ea83bd
Merge pull request #1407 from hashicorp/f-resource-isolation-fingerprinter
...
Conditionalize platform tests
2016-07-11 15:28:44 -04:00
Sean Chittenden
dd7c28165b
Alpha-sort the build platforms
2016-07-11 12:23:46 -07:00
Sean Chittenden
fc8110ba96
Merge branch 'master' into f-resource-isolation-fingerprinter
2016-07-11 12:23:09 -07:00
Sean Chittenden
444998cc37
Darwin currently has allocdir support.
...
Pointed out by: @dadgar
2016-07-11 12:19:17 -07:00
Sean Chittenden
bb8b47d478
Remove cgroup fingerprinter from non-linux systems.
...
If someone wants to extend or reuse Cgroup detenction in the future they
can move `cgroup_linux.go` to `cgroup.go` and add the relevant build
tags.
Requested by: @dadgar
2016-07-11 12:16:56 -07:00
Diptanu Choudhury
fa12297994
Merge pull request #1388 from novilabs/support-docker-syslog-unixformat-and-defaultformat
...
Support docker syslog unixformat and defaultformat
2016-07-11 11:17:30 -07:00