Tim Gross
31f91cf4c8
e2e: fixes for race conditions in testing ( #6300 )
...
- In script checks, ensure we're running `Exec` against the new running
allocation and not the earlier stopped one.
- In script checks, allow `Exec` calls to error due to lack of pty when
we use the exec to kill the task.
- In `utils.go/RegisterAllocs`, force query for allocations to wait on
wait index returned by registration call.
2019-09-10 13:45:16 -04:00
Tim Gross
f7c9db5624
e2e: tag instances with origin ( #6293 )
...
When multiple developers are working on e2e testing, it helps to be
able to identify which infrastructure belongs to which Nomad SHA and
which developer. This adds tags to the EC2 instances.
2019-09-06 15:49:18 -04:00
Tim Gross
f856cd4c58
script checks: use cat instead of ls for exit code agreement
2019-09-06 11:17:00 -04:00
Tim Gross
863339d65a
e2e: script check testing
2019-09-06 10:18:55 -04:00
Michael Schurter
2011b46a19
e2e: test demo job for connect
2019-09-04 12:40:08 -07:00
Tim Gross
e19520cf13
e2e: filter default AMI by OS
...
Add an OS tag to Packer builds of our e2e test AMIs and then filters
by this in Terraform.
2019-08-30 16:51:13 -04:00
Danielle Lancashire
1cd86141d9
chore: Format hcl configurations
2019-07-20 16:55:07 +02:00
Michael Schurter
b73882882e
e2e: debug log level for everyone!
2019-07-18 06:55:27 -07:00
Michael Schurter
b66c6cfc2d
e2e: enable_debug=true for all agents
...
Enables the pprof http endpoint for debugging.
2019-07-17 15:20:45 -07:00
Preetha
c031f666c9
Merge pull request #5912 from hashicorp/f-systemd-nofile
...
systemd: set a high but non-infinite fd limit
2019-07-11 12:31:12 -05:00
Preetha Appan
47bdbf9f20
add module version constraint to e2e/terraform
2019-07-05 09:18:38 -05:00
Michael Schurter
4652ccfec5
systemd: set a high but non-infinite fd limit
2019-07-02 09:13:24 -07:00
Lang Martin
f7ab4f0f21
e2e update shell scripts argument quoting
2019-06-04 15:52:32 -04:00
Lang Martin
4b8c9428f4
e2e/deployment DeploymentsForJob fail instead of nil, error passing
2019-06-04 14:31:42 -04:00
Lang Martin
6ca33d0f20
e2e/deployment fail if the second deployment times out
2019-06-04 14:08:30 -04:00
Lang Martin
293b3d4b9f
e2e bin/update and bin/run, README
2019-06-04 13:42:07 -04:00
Lang Martin
22b6c2e6ad
e2e/deployment find the second deployment, use its status
2019-06-04 13:41:52 -04:00
Lang Martin
a234550d6f
Update e2e/deployment/deployment.go
...
Co-Authored-By: Mahmood Ali <mahmood@notnoop.com >
2019-05-22 12:34:57 -04:00
Lang Martin
a5e3e8e818
e2e/deployment comment the job files for clarity
2019-05-22 12:34:57 -04:00
Lang Martin
dd2f16a031
e2e add deployment to the list of e2e tests, minor fixes
2019-05-22 12:34:57 -04:00
Lang Martin
1e9f3145d6
e2e readme minor changes to command + env val templates and order
2019-05-22 12:34:57 -04:00
Lang Martin
3a3c4426bb
e2e utils remove ineffectual assignment of allocs
2019-05-22 12:34:57 -04:00
Lang Martin
78b9aeffa2
e2e README typo
2019-05-22 12:34:57 -04:00
Lang Martin
1a99a0f771
e2e utils error format arg match
2019-05-22 12:32:08 -04:00
Lang Martin
2422991220
new e2e deployment test
2019-05-22 12:32:08 -04:00
Lang Martin
8b64574721
e2e util split new alloc and await placement, new WaitForDeployment
2019-05-22 12:32:08 -04:00
Preetha
abaf5dcff1
Merge pull request #5702 from hashicorp/f-filter-by-create-index
...
Filter deployments by create index
2019-05-15 21:50:41 -05:00
Michael Schurter
846b482814
e2e: fix nomad service for systemd<230
2019-05-14 10:53:26 -07:00
Preetha Appan
af2ed66749
Add flag similar to --all for allocs to be able to filter deployments by latest
2019-05-13 18:33:41 -05:00
Mahmood Ali
5abbee5d39
Merge pull request #5632 from hashicorp/f-nomad-exec-parts-01-base
...
nomad exec part 1: plumbing and docker driver
2019-05-09 18:09:27 -04:00
Mahmood Ali
980e4f5866
add e2e tests for nomad exec
2019-05-09 16:49:08 -04:00
Michael Schurter
9ef81dbe7f
Merge pull request #5647 from hashicorp/e2e-tf
...
E2E Test Terraform/Packer Improvements
2019-05-06 15:42:52 -07:00
Mahmood Ali
5035db0c49
docs: update s3 urls to use virtual bucket style
...
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
2019-05-06 10:39:51 -04:00
Michael Schurter
452d9ab26c
e2e: explain these scripts are for packer
...
It took me way too long to figure out these weren't used by TF.
2019-05-03 07:55:28 -07:00
Michael Schurter
d477ca50ff
e2e: let the unindex clients do anything...
...
...and be debugable!
2019-05-03 07:54:55 -07:00
Michael Schurter
ac8d50f937
e2e: ssh instructions + remove redundant naming
2019-05-03 07:54:34 -07:00
Michael Schurter
10dfbb391e
e2e: update deps and install nomad in packer
...
Nomad on the packer image will be overwritten by the sha specified in
the TF var, but including a base version on the packer image makes the
image valid for independent use.
2019-05-03 07:53:08 -07:00
Michael Schurter
782016fc78
e2e: enable systemd units so they start on boot
2019-05-03 07:52:03 -07:00
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