Commit Graph

327 Commits (b7b3e6eb6e46b8072c190e71991026218620a88c)

Author SHA1 Message Date
DanStough 817449041d chore(test): Update bats version
3 years ago
R.B. Boyer 851c8c32b4
test: fix more flakes in the compatibility test (#13145)
3 years ago
R.B. Boyer 2a4d474d28
test: cleanup and unflake parts of the upgrade compat tests (#13126)
3 years ago
Hui Kang b8a561bb6f change to var.vpc_cidr
3 years ago
Hui Kang a1a643468f fix insecure cidr_blocks in load test
3 years ago
Dhia Ayachi 15a6d150f9
sync changes to healthcheck tests (#12984)
3 years ago
Dhia Ayachi feda67f4d1
Create clients with specific version for integration tests (#12978)
3 years ago
R.B. Boyer bd87505bf2
ci: upgrade bats and the circle machine executors to get integration tests to function again (#12918)
3 years ago
Dhia Ayachi 0f89a72e01
try to read license from env and mapped to container (#12854)
3 years ago
Dhia Ayachi 4488b6c339
Add versions compatibility tests between Consul (#12702)
3 years ago
Evan Culver 000d0621b4
connect: Add Envoy 1.22 to integration tests, remove Envoy 1.18 (#12805)
3 years ago
DanStough 95250e7915 Update go version to 1.18.1
3 years ago
Evan Culver 881e17fae1
connect: Add Envoy 1.21.1 to support matrix, remove 1.17.4 (#12777)
3 years ago
R.B. Boyer 231e5b61e7
test: use docker buildkit backend for envoy integration tests (#12726)
3 years ago
R.B. Boyer d06183ba7f
syncing changes back from enterprise (#12701)
3 years ago
Evan Culver 522676ed8d
connect: Update supported Envoy versions to include 1.19.3 and 1.18.6
3 years ago
Evan Culver b95f010ac0
connect: Upgrade Envoy 1.20 to 1.20.2 (#12443)
3 years ago
Evan Culver e35dd08a63
connect: Upgrade Envoy 1.20 to 1.20.1 (#11895)
3 years ago
Chris S. Kim 7d1899d907
Fix integration test with updated file perms (#11916)
3 years ago
freddygv 5c1f7aa372 Allow cross-partition references in disco chain
3 years ago
freddygv 129d54d060 Fix integ test
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
freddygv cc19f09f92 Add cross-partition integration test
3 years ago
freddygv d6c26ea598 Bump retry time for cross-DC RPC
3 years ago
Dhia Ayachi 2801785710
regenerate expired certs (#11462)
3 years ago
Evan Culver 61be9371f5
connect: Remove support for Envoy 1.16 (#11354)
3 years ago
Evan Culver bec08f4ec3
connect: Add support for Envoy 1.20 (#11277)
3 years ago
R.B. Boyer c5b7e2a759
test: pin the version of bats to one that works on CircleCI (#11401)
3 years ago
R.B. Boyer 3b6eeced50
test: remove some envoy integ test warnings (#11369)
3 years ago
Evan Culver 585d9363ed
Merge branch 'main' into eculver/envoy-1.19.1
3 years ago
Paul Banks e0efb420f7 Add Envoy integration test for split-route SDS case
3 years ago
Paul Banks ab27214a10 Minor improvements to SDS server from review
3 years ago
Paul Banks 2b755d7b3f Allow skipping v2 compat tests for SDS as it's only the SDS server integration that doesn't support v2
3 years ago
Paul Banks e01c3585a5 Fix integration tests in CI - serve SDS certs from the Docker image not a mounted path
3 years ago
Paul Banks 843079f33a Fix integration test for older Envoy versions
3 years ago
Paul Banks cd8ad007fe Add basic integration test for Envoy ingress with SDS
3 years ago
Evan Culver 7605dff46e
add envoy 1.19.1
3 years ago
Paul Banks 81eb706906 Add Envoy integration test to show Header manip can interpolate Envoy variables
3 years ago
Paul Banks 1b9632531a Integration tests for all new header manip features
3 years ago
Freddy 8d83d27674
connect: update envoy supported versions to latest patch release
3 years ago
Kyle Havlovitz 073b6c8411 oss: Rename default partition
3 years ago
Matt Keeler caafc02449 hcs-1936: Prepare for adding license auto-retrieval to auto-config in enterprise
4 years ago
R.B. Boyer 3b50a55533
connect: update supported envoy versions to 1.18.3, 1.17.3, 1.16.4, and 1.15.5 (#10231)
4 years ago
Daniel Nephin 426565b68c fix failing integration tests
4 years ago
R.B. Boyer abc1dc0fe9
connect: update supported envoy versions to 1.18.2, 1.17.2, 1.16.3, and 1.15.4 (#10101)
4 years ago
R.B. Boyer 71d45a3460
Support Incremental xDS mode (#9855)
4 years ago
R.B. Boyer 52205ac201
test: switch envoy integration tests to use pkill instead of ps+grep+awk+kill (#10097)
4 years ago
Freddy a11ea6254e
Check for optionally prepended namespace in upstream assertion (#10049)
4 years ago
Yong Wen Chua 516335e415
Update assertion to not check for port
4 years ago
Yong Wen Chua 409768d6e5
Merge branch 'master' of github.com:hashicorp/consul into tg-rewrite
4 years ago
R.B. Boyer 398b766532
xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658)
4 years ago
Yong Wen Chua ec8fecbf61
Add integration test check
4 years ago
R.B. Boyer 3b6ffc447b
xds: remove deprecated usages of xDS (#9602)
4 years ago
R.B. Boyer 39effd620c
xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765)
4 years ago
Alvin Huang bf5b76851a
remove reference to docker/ path for old docker mirror (#9783)
4 years ago
Michele Degges fee295b685
Remove jfrog references (#9782)
4 years ago
R.B. Boyer 6eeccc93ce
connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7 (#9737)
4 years ago
s-christoff 97facc994e
docs: Update load test documentation and minor clean ups (#9548)
4 years ago
Daniel Nephin 79284b41ea Pin alpine/socat image to a version.
4 years ago
s-christoff bc520a4fc8
Up testing threshold for Circle (#9418)
4 years ago
s-christoff b9a9f395d6
Minor load test fixes (#9394)
4 years ago
s-christoff 348766166e
Allow consul version/consul download url to be inputted via Terraform (#9267)
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
Mike Morris 7af643ac37
ci: update to Go 1.15.4 and alpine:3.12 (#9036)
4 years ago
R.B. Boyer 5afd04897c
test: use direct service registration in envoy integration tests (#9138)
4 years ago
R.B. Boyer 8baf158ea8
Revert "Add namespace support for metrics (OSS) (#9117)" (#9124)
4 years ago
Freddy 06b3b017d3
Add namespace support for metrics (OSS) (#9117)
4 years ago
Aaron Lane ef90db1943
Merge pull request #9112 from hashicorp/aaron-lane-patch-2
4 years ago
Aaron Lane 78de48ef42
Update loadtest AMI name, description
4 years ago
Aaron Lane 665019e884
Link to packer directory from terraform ReadMe
4 years ago
R.B. Boyer 44bd8bd2ae
use the docker proxy for more envoy integration test containers (#9085)
4 years ago
R.B. Boyer 957293d884
wait_for_namespace should take two args (#9086)
4 years ago
Alvin Huang ae6185a554
use hashicorp docker mirror in envoy helper (#9080)
4 years ago
R.B. Boyer d7b37e3c6e
fix envoy integ test wait_for_namespace to actually work on CI (#9082)
4 years ago
Alvin Huang ea88956c9c
use hashicorp docker mirror to prevent rate limit (#9070)
4 years ago
R.B. Boyer a66c4591d7
agent: introduce path allow list for requests going through the metrics proxy (#9059)
4 years ago
R.B. Boyer b724e096c2
add namespace waiting function to envoy integration tests (#9051)
4 years ago
R.B. Boyer 8e70c3fc25
missed adding the test delay to the l7-intentions envoy integration test (#9052)
4 years ago
R.B. Boyer d7c7858d87
Fix even more test flakes in intentions related envoy integration tests (#9013)
4 years ago
R.B. Boyer 934c65ad77
fix flaky envoy integration tests involving intentions (#8996)
4 years ago
R.B. Boyer a2c50d3303
connect: add support for envoy 1.16.0, drop support for 1.12.x, and bump point releases as well (#8944)
4 years ago
R.B. Boyer 0bf62246e5
speed up envoy integration tests by removing docker-compose (#8982)
4 years ago
R.B. Boyer da4ec9ff27
restore the discovery of tests cases by file system existence (#8983)
4 years ago
R.B. Boyer a68c0ce1e7
speed up envoy integ tests by not politely stopping containers before destroying them (#8969)
4 years ago
R.B. Boyer 1b413b0444
connect: support defining intentions using layer 7 criteria (#8839)
4 years ago
s-christoff 5da640b287
Add load testing framework (#8571)
4 years ago
R.B. Boyer 9801ef8eb1
agent: enable enable_central_service_config by default (#8746)
4 years ago
Jack 9e1c6727f9
Add http2 and grpc support to ingress gateways (#8458)
4 years ago
R.B. Boyer 74d5df7c7a
xds: use envoy's rbac filter to handle intentions entirely within envoy (#8569)
4 years ago
R.B. Boyer c599a2f5f4
xds: add support for envoy 1.15.0 and drop support for 1.11.x (#8424)
4 years ago
Hans Hasselberg 496fb5fc5b
add support for envoy 1.14.4, 1.13.4, 1.12.6 (#8216)
4 years ago
R.B. Boyer 1eef096dfe
xds: version sniff envoy and switch regular expressions from 'regex' to 'safe_regex' on newer envoy versions (#8222)
4 years ago
Chris Piraino 735337b170
Append port number to ingress host domain (#8190)
4 years ago
Freddy cc1407e867
Merge http2 integration test case into grpc case (#8164)
5 years ago
Hans Hasselberg e62a43c6cf
Support envoy 1.14.2, 1.13.2, 1.12.4 (#8057)
5 years ago
Chris Piraino 1a853fc954
Always require Host header values for http services (#7990)
5 years ago
Freddy 9ed325ba8b
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
5 years ago
Daniel Nephin 0a75d32e3e ci: fix log capture for envoy integration tests
5 years ago
Daniel Nephin e02ee13657
Make envoy integration tests a `go test` suite (#7842)
5 years ago
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
Chris Piraino 646902621b Set default protocol to http in TLS integration test
5 years ago
Daniel Nephin 5655d7f34e Add outlier_detection check to integration test
5 years ago
Chris Piraino 5105bf3d67
Require individual services in ingress entry to match protocols (#7774)
5 years ago
Kyle Havlovitz b2a0251f66 Add a check for custom host to ingress TLS integration test
5 years ago
Kyle Havlovitz d452769d92 Add TLS integration test for ingress gateway
5 years ago
Kyle Havlovitz f14c54e25e Add TLS option and DNS SAN support to ingress config
5 years ago
Chris Piraino f40833d094 Allow Hosts field to be set on an ingress config entry
5 years ago
Kyle Havlovitz 247f9eaf13 Allow ingress gateways to route traffic based on Host header
5 years ago
freddygv eddd5bd73b PR comments
5 years ago
freddygv 2a85e44519 Add envoy integration tests
5 years ago
Chris Piraino ecc8a2d6f7 Allow ingress gateways to route through mesh gateways
5 years ago
Kyle Havlovitz e7b1ee55de Add http routing support and integration test to ingress gateways
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Pierre Souchay 2199a134a0 More tolerant assert_alive_wan_member_count to fix unstable tests
5 years ago
Hans Hasselberg 66415be90e
connect: support envoy 1.14.1 (#7624)
5 years ago
Chris Piraino 584f90bbeb
Fix flapping of mesh gateway connect-service watches (#7575)
5 years ago
Pierre Souchay eafe9a895a
tests: fixed bats warning (#7544)
5 years ago
Hans Hasselberg 6a49a42e98
connect: support for envoy 1.13.1 and 1.12.3 (#7380)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler 0041102e29
Change where the envoy snapshots get put when a test fails (#7298)
5 years ago
Hans Hasselberg 9cb7adb304
add envoy version 1.12.2 and 1.13.0 to the matrix (#7240)
5 years ago
Paschalis Tsilias a335aa57c5
Expose Envoy's /stats for statsd agents (#7173)
5 years ago
Matt Keeler bfc03ec587
Fix a couple bugs regarding intentions with namespaces (#7169)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Chris Piraino f3b54fa535
Allow configuration of upstream connection limits in Envoy (#6829)
5 years ago
R.B. Boyer 2011f3d7dc
xds: mesh gateway CDS requests are now allowed to receive an empty CDS reply (#6787)
5 years ago
Paul Banks 87699eca2f
Fix support for RSA CA keys in Connect. (#6638)
5 years ago
R.B. Boyer 8dcba472a2
xds: tcp services using the discovery chain should not assume RDS during LDS (#6623)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
R.B. Boyer 2cd5a7e542
tests: make envoy integration tests more tolerant of internal retries that may inflate counters (#6539)
5 years ago
Pierre Souchay 2f37d68d9b [BUGFIX][BUILD] When test fail in circle-ci in main, have a proper error message (#6416)
5 years ago
Matt Keeler 9a5b258edf
Turned on Envoy 1.11.1 integration tests (#6347)
5 years ago
R.B. Boyer 72207256b9
xds: improve how envoy metrics are emitted (#6312)
5 years ago
R.B. Boyer 8e22d80e35
connect: fix failover through a mesh gateway to a remote datacenter (#6259)
5 years ago
R.B. Boyer 6393edba53
connect: reconcile how upstream configuration works with discovery chains (#6225)
5 years ago
Matt Keeler 3053342198
Envoy Mesh Gateway integration tests (#6187)
5 years ago
R.B. Boyer e039dfd7f8
connect: rework how the service resolver subset OnlyPassing flag works (#6173)
5 years ago
R.B. Boyer aca2c5de3f
tests: adding new envoy integration tests for L7 service-resolvers (#6129)
5 years ago
R.B. Boyer 4a9f4b97e6
tests: when running envoy integration tests try to limit container bleedover between cases (#6148)
5 years ago
R.B. Boyer 8a90185bbd
unknown fields now fail, so omit these unimplemented fields (#6125)
5 years ago
R.B. Boyer 9138a97054
Fix bug in service-resolver redirects if the destination uses a default resolver. (#6122)
5 years ago
R.B. Boyer 911ed76e5b
tests: further reduce envoy integration test flakiness (#6112)
5 years ago
R.B. Boyer d4e58e9773 test: for envoy integration tests bump the time to wait for the upstream to be healthy (#6109)
5 years ago
R.B. Boyer 20caa4f744
test: for envoy integration tests, wait until 's2' is healthy in consul before interrogating envoy (#6108)
5 years ago
Jack Pearkes e6f1b78efb Make cluster names SNI always (#6081)
5 years ago
R.B. Boyer 4bdb690a25
activate most discovery chain features in xDS for envoy (#6024)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
6 years ago
Paul Banks 9f656a2dc8
Fix envoy 1.10 exec (#5964)
6 years ago
Alvin Huang 683262a686
ignore consul-exec tests until fixed (#5986)
6 years ago
Paul Banks ffcfdf29fc
Upgrade xDS (go-control-plane) API to support Envoy 1.10. (#5872)
6 years ago
Paul Banks 2d47b28722
Envoy integration test improvements (#5797)
6 years ago
Alvin Huang 19f44cd1cc
remove container after docker run exits (#5798)
6 years ago
Paul Banks 446abd7aa2
Make central conf test work when run in a suite. (#5767)
6 years ago
Paul Banks 0cfb6051ea Add integration test for central config; fix central config WIP (#5752)
6 years ago
Paul Banks 421ecd32fc
Connect: allow configuring Envoy for L7 Observability (#5558)
6 years ago
Hans Hasselberg 0fc1c203cc
snapshot: read meta.json correctly. (#5193)
6 years ago
Paul Banks bbde408b09
Update test certificates that expire this year to be way in the future
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
Frank Schroeder c94751ad43 test: replace porter tool with freeport lib
7 years ago
Alex Dadgar c7a65b4587 Testutil falls back to random ports w/o porter (#3604)
7 years ago
Frank Schroeder 86901b887d porter: add better warning if missing
7 years ago
James Phillips d0e099e54c
Makes porter take over if an existing instance died.
7 years ago
James Phillips e19f547529
Makes porter more conservative by trying to connect to ports before handing them out.
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Frank Schroeder 01bc7dd3c4
test: log exit code in cluster.bash
8 years ago
Frank Schroeder bab941e76f
test: add script for starting a multi-node cluster
8 years ago
James Phillips 6f7ff554d0
Updates unit test certs for another year.
8 years ago
James Phillips dd85930b6d Updates expired test certs and includes a script to generate new certs.
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
Kyle Havlovitz 197dc10a7f
Add utility types to enable checking for unset flags
8 years ago
James Phillips c01a3871c9 Adds support for snapshots and restores. (#2396)
8 years ago
James Phillips 4606adae6c Re-ups the snake oil certs for the unit tests.
9 years ago
James Phillips 794974d759 Reissues cert for the unit tests, which expired a few days ago.
10 years ago
Armon Dadgar 75d2701a1a test: Adding hostname certs
10 years ago
Nelson Elhage 12a7f765b6 Add some basic smoke tests for wrapTLSclient.
11 years ago
William Tisäter ed4230f1fc Fix tests on Go 1.3 and greater
11 years ago
Armon Dadgar a4246abe7d Adding testing certificates
11 years ago