Commit Graph

120 Commits

Author SHA1 Message Date
Chris Baker
312721427d vault e2e: pass vault version into setup instead of having to infer it from test name 2019-04-10 10:34:10 -05:00
Chris Baker
f7f979ad0f e2e/vault: updated e2e vault tests to use version-specific policy creation endpoint (old servers are not compatible with new client) 2019-04-10 10:34:10 -05:00
Preetha Appan
c5dcdd3068 scripts for upgrade testing 2019-04-04 22:31:57 -05:00
Preetha Appan
a09fb7d7bf small tweaks to load test jobs to make them work in Nomad 0.8.7 2019-04-02 20:38:56 -05:00
Preetha Appan
aae61695f5 added cpu/disk/memory stress jobs for e2e tests 2019-04-01 22:28:18 -05:00
Preetha Appan
9d4c84e663 Added nginx to e2e test 2019-04-01 14:52:58 -05:00
Preetha Appan
05637ae076 Remove unnecessary step in getting node client
All allocation stats are routable from the server
2019-04-01 10:45:41 -05:00
Preetha Appan
46b012fd3b Add e2e test with raw exec job for verifying allocation resource stats 2019-03-31 09:46:23 -05:00
Preetha Appan
6c1d69bab4 Use specific url prefix for metrics test
Also changed the output to show client node IP addresses
2019-03-27 11:04:06 -05:00
Michael Schurter
8cd191dd39 test: properly skip client state in beforeall 2019-03-22 06:42:04 -07:00
Preetha
8ac39a17a9 Merge pull request #5405 from hashicorp/e2e_metrics
Prometheus metrics for the e2e environment
2019-03-21 09:30:12 -05:00
Preetha Appan
a30fbb55ad remove stray println 2019-03-21 09:23:37 -05:00
Michael Schurter
c43515cd14 test: skip slow state test without flag 2019-03-21 07:17:02 -07:00
Michael Schurter
91d36f9f6a e2e: add NomadAgent and basic client state test
The e2e test code is absolutely hideous and leaks processes and files
on disk. NomadAgent seems useful, but the clientstate e2e tests are very
messy and slow. The last test "Corrupt" is probably the most useful as
it explicitly corrupts the state file whereas the other tests attempt to
reproduce steps thought to cause corruption in earlier releases of
Nomad.
2019-03-21 07:14:34 -07:00
Michael Schurter
475bcaafd6 docs: sync systemd unit files; update deploy guide
The systemd configs spread across our repo were fairly out of sync. This
should get them on our best practices.

The deployment guide also had some strange things like running Nomad as
a non-root user. It would be fine for servers but completely breaks
clients. For simplicity I simply removed the non-root user references.
2019-03-19 15:18:12 -07:00
Preetha Appan
3d02d94b8e Removed use of e2e framework 2019-03-11 09:21:04 -05:00
Preetha Appan
5c32cd4dca prometheus and fabio for metrics 2019-03-11 09:21:04 -05:00
Mahmood Ali
863c34aba7 tests: disable upgrade e2e tests
Upgrade e2e tests are failing and we haven't had bandwith to fix yet.
Having them fail makes it easy for us to miss other failures and
regressions.

As such, skip the upgrade e2e tests until we fix them.
2019-02-27 08:40:09 -05:00
Alex Dadgar
1b8187c8ec make nomad upgrade e2e build on non linux 2019-01-28 11:18:59 -08:00
Preetha
7b4b3b5f98 Merge pull request #5249 from hashicorp/consul_e2e
Consul e2e tests
2019-01-28 10:46:49 -06:00
Preetha Appan
b2cd593713 Moved in place upgrade canary test over to new e2e framework 2019-01-27 20:15:35 -06:00
Preetha Appan
787e37860b Basic consul registration e2e 2019-01-26 10:58:25 -06:00
Alex Dadgar
d28bf3231e Fix double restart counting for templates
This PR fixes an issue where template restarts would count twice since
it was emitting a restarting event.
2019-01-25 15:38:13 -08:00
Preetha Appan
de84a2e463 update to Consul 1.4.0 for e2e tests 2019-01-24 09:52:15 -06:00
Nick Ethier
e2bc4f3f02 e2e/nomad09upgrade: remove test file that is not needed 2019-01-23 21:23:13 -05:00
Nick Ethier
790fec8666 e2e: removed unused code in nomade09upgrade suite 2019-01-23 20:54:23 -05:00
Nick Ethier
b45f8b085b Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad:
  Apply suggestions from code review
2019-01-23 20:26:32 -05:00
Nick Ethier
a9060f44eb drivers: add docker upgrade path and e2e test 2019-01-23 14:44:42 -05:00
Michael Schurter
35eff08386 Apply suggestions from code review
Co-Authored-By: nickethier <ncethier@gmail.com>
2019-01-23 14:09:49 -05:00
Nick Ethier
66ac7050e1 e2e: remove unused script 2019-01-22 23:29:15 -05:00
Nick Ethier
47a1d73e46 e2e/nomad09upgrade: add comments 2019-01-22 23:25:27 -05:00
Nick Ethier
6191fe3f2c e2e: add tests for nomad driver upgrade path 2019-01-17 23:32:45 -05:00
Michael Schurter
fb12451ecf e2e: test task events for a failed sibling task 2019-01-08 14:39:37 -08:00
Michael Schurter
c9dc5e4999 e2e: wait for at least N nodes to be ready
Before it was *exactly* N nodes which limited test portability between
clusters.
2019-01-08 14:39:37 -08:00
Michael Schurter
6c01ae4ae2 e2e: add task events tests 2019-01-08 07:20:53 -08:00
Danielle Tomlinson
646e077d32 e2e: Add consultemplate test
This adds a basic test for consul template, that verifies the behaviour
of consul-template with task blocking and restarting of tasks
2019-01-07 17:53:55 +01:00
Danielle Tomlinson
ad51e6cb24 Merge pull request #5149 from hashicorp/dani/e2e-friendly
e2e: Output setup instructions after terraform
2019-01-04 22:14:03 +01:00
Danielle Tomlinson
b51021ac28 e2e: Output setup instructions after terraform
This adds a message that provides environment setup instructions for
running e2e tests after running terraform apply.

This allows copy/pasting exports, rather than manually constructing
them.
2019-01-04 16:55:14 +01:00
Mahmood Ali
bce7c9372d goimport file 2019-01-04 08:53:50 -05:00
Preetha Appan
21810d0edd Added waiting on client node ready state before running e2e tests 2019-01-03 16:16:20 -06:00
Preetha
9a514aabd3 Update README.md 2019-01-03 16:15:59 -06:00
Preetha
38929049f4 Update README.md 2019-01-03 15:31:19 -06:00
Preetha Appan
36b5435ed3 Increase alloc wait timeout in e2e test 2019-01-03 14:02:02 -06:00
Preetha
70d7a63deb Update e2e readme 2019-01-03 13:24:58 -06:00
Preetha
4d6bf2a68b Update README.md 2019-01-03 13:19:04 -06:00
Preetha
136e690d3e Update README.md 2019-01-03 12:12:43 -06:00
Preetha Appan
1cfef83302 Increase timeout in e2e test 2019-01-03 11:22:21 -06:00
Danielle Tomlinson
002f19085a e2e: goimports e2eutil/utils.go 2019-01-03 13:31:49 +01:00
Preetha Appan
4064748215 Clean up map update code 2018-12-20 15:12:48 -06:00
Preetha Appan
7ad040166d new e2e test for spread, and refactor affinity tests to share util methods 2018-12-19 21:25:32 -06:00