Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge attempt to upstream/36cf26b9d6ac32f5671c24b92f9ea22ab70bc6c1 #1

Closed
wants to merge 543 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
543 commits
Select commit Hold shift + click to select a range
598c169
ci: use small image and use remote_jdk (#7786)
lizan Aug 1, 2019
dd50110
Add flag when open file (#7445)
scw00 Aug 2, 2019
cd8574d
ci: partially revert #7786 to fix post submit (#7807)
lizan Aug 2, 2019
95a2b26
docs: fix custom header example (#7806)
christianladron Aug 2, 2019
b1fcf27
bump abseil to latest version (#7802)
achasveachas Aug 2, 2019
fc8d6f5
fuzz: remove header prefix from Bootstrap (#7803)
asraa Aug 2, 2019
06119fa
clang-tidy modernize-use-nullptr (#7791)
derekargueta Aug 2, 2019
266252e
zookeeper: parse server responses (#7574)
Aug 2, 2019
a30986b
security: add @yanavlasov to Envoy security team. (#7811)
htuch Aug 2, 2019
fb7384e
ci: roll forward build image (#7809)
lizan Aug 2, 2019
0957e9c
config: do not finish initialization on stream disconnection (#7427)
ramaraochavali Aug 2, 2019
662eccc
Fix comment (#7816)
Aug 3, 2019
2ca5b26
clang-tidy: modernize-loop-convert (#7790)
derekargueta Aug 3, 2019
f3121b0
docs: fix minor style issue in tracing.rst (#7821)
talnordan Aug 3, 2019
56d03e0
ci: compile_time_options in Azure RBE (#7817)
lizan Aug 3, 2019
01bf1c3
docs: link to GetEnvoy.io for pre-built binaries (#7814)
lizan Aug 5, 2019
c906df3
docs: fix incorrect comment (#7827)
derekargueta Aug 5, 2019
3e63182
tracing: Update OpenCensus. (#7797)
g-easy Aug 5, 2019
e6145e0
accesslog: Add buffering and flushing to gRPC access log (#7755)
Aug 6, 2019
3286ea0
codec: add metadata_not_supported_error to HTTP/1 codec stats (#7801)
soya3129 Aug 6, 2019
9e552c5
header to metadata: add base64 encode and protobuf value type (#7796)
yangminzhu Aug 6, 2019
7e5e0b5
config: add init fetch timeout stat (#7822)
ramaraochavali Aug 6, 2019
41c4244
fix respect_dns_ttl bug (#7815)
yxue Aug 6, 2019
6ddfb94
security: update Istio contact e-mail. (#7837)
htuch Aug 6, 2019
7e21623
fix portFromUrl when double protocol is provided (#7838)
securityinsanity Aug 7, 2019
cb7c969
jwt_authn: clean not-used using (#7845)
qiwzhang Aug 7, 2019
67103ba
http: add onComplete to AsyncClient::StreamCallbacks (#7752)
goaway Aug 7, 2019
2942421
http: introduce addEncodedMetadata() (#7756)
soya3129 Aug 7, 2019
3d4f6fa
Clarify lifetime requirements on Envoy::Event::Timer (#7812)
auni53 Aug 7, 2019
7a21bec
docs: update ci/build docs (#7849)
lizan Aug 7, 2019
feb56a1
ip tagging: fix old TODO (#7834)
derekargueta Aug 7, 2019
6db95bd
fuzz: link libfuzzer engine to fuzz with bazel! (#7805)
asraa Aug 7, 2019
7c7a6c9
Ensure the pending requests are popped before the callback is called.…
HenryYYang Aug 7, 2019
4c08c00
buffer filter: Populate content-length header (#7848)
Aug 7, 2019
8b549bd
Do not use SpdyString wrapper for std::string. (#7854)
bencebeky Aug 7, 2019
8e1dd33
Adaptive concurrency no-op implementation (#7819)
Aug 8, 2019
3fdd00d
stats: More StatName conversions (#7810)
jmarantz Aug 8, 2019
151fa54
added logic to reset route cache
Apr 5, 2019
ccd9dbd
added fix for set cookie header
Apr 5, 2019
b6dbd41
fixed ambassador issue #1313
Apr 5, 2019
8824049
added tracing support
Apr 5, 2019
6ba9a07
added support for legacy RLS
Apr 5, 2019
9fada3c
updated legacy RLS name
Apr 5, 2019
2f3fc11
removed deprecation flags from fault, ext-authz and route protos
Jun 6, 2019
e23b2a6
fixed bad merge
Jun 6, 2019
f560629
added the tracing name string to the client config
Jun 12, 2019
ac42dd2
fixed typo
Jun 12, 2019
d82576b
added test for http client tracing ok
Jun 12, 2019
5ce6873
more tests for http client tracing
Jun 12, 2019
bce7c36
fixed tests
Jun 12, 2019
fa39a83
added tests for http client tracing
Jun 13, 2019
b1dae7d
use fmt instead of string concatenation
Jun 13, 2019
c482279
quiche: do not use Http2String wrapper for std::string (#7856)
bencebeky Aug 8, 2019
e03936e
OriginalDstCluster: Use ThreadAwareLoadBalancer (#7820)
jrajahalme Aug 8, 2019
04477ca
Pass CC, CXX and PATH variables to Bazel. (#7874)
PiotrSikora Aug 9, 2019
c92b8ba
grpc: Add AWS IAM grpc credentials extension (#7532)
lavignes Aug 9, 2019
05e3f6e
Remove dummy.h, dummy.cc, dummy_test.cc. (#7871)
bencebeky Aug 9, 2019
85a294e
http2: Limit the number of outbound frames (#9)
yanavlasov Jul 30, 2019
f261942
http2: limit the number of inbound frames. (#20)
PiotrSikora Jul 31, 2019
c28b110
http2: enable strict validation of HTTP/2 headers. (#19)
PiotrSikora Jul 31, 2019
9cd0ce4
Always disable reads when connection is closed with the FlushWriteAnd…
yanavlasov Jul 31, 2019
9c3bab4
release: bump to 1.11.1.
PiotrSikora Jul 30, 2019
9af4885
Fix flaky http2 integration tests (#29)
yanavlasov Aug 2, 2019
82067af
runtime: changing snapshot access to be const (#7677) (#26)
PiotrSikora Jul 31, 2019
4e9588b
runtime: making runtime accessible from non-worker threads (#7695) (#27)
PiotrSikora Jul 31, 2019
71ff17c
Disable outbound flood mitigation through runtime config (#22)
yanavlasov Aug 2, 2019
26a1346
buffer filter: Deflake RouterRequestPopulateContentLength (#7885)
Aug 9, 2019
975c62d
listener: add an option to continue on listener filters timeout (#7859)
lizan Aug 9, 2019
922f2f9
dynamic forward proxy: add factory declarations + linking validation …
rebello95 Aug 11, 2019
4616a09
runtime: add the ability to log downstream HTTP/2 attacks.
mattklein123 Aug 10, 2019
dd5eb0c
Introduce --features=compiler_param_file option for windows (#7897)
achasveachas Aug 12, 2019
93f87c3
cleanup: generator.py words correction. (#7891)
Aug 12, 2019
1cf877d
build: miscellaneous hygiene fixes (#7888)
akonradi Aug 12, 2019
3125646
docs: add names to layers in runtime (#7887)
asraa Aug 12, 2019
3380a14
runtime: add proto constraint to require a layer specifier (#7886)
asraa Aug 12, 2019
5210894
fuzz: add a simple fuzzer for xxhash utilities (#7855)
asraa Aug 12, 2019
c3a7531
tracing: Add B3 support in OpenCensus driver. (#7800)
g-easy Aug 12, 2019
e7fe198
Register per opcode latencies (#7825)
Aug 13, 2019
7b0ce0d
cluster: remove unused proto import (#7898)
rebello95 Aug 13, 2019
b93886c
http2: limit the number of outbound frames (#23)
yanavlasov Jul 31, 2019
9f16bca
http2: limit the number of inbound frames. (#24)
PiotrSikora Jul 31, 2019
84dabbf
http2: enable strict validation of HTTP/2 headers. (#25)
PiotrSikora Jul 31, 2019
79cbdca
connection: always disable reads when connection is closed with the F…
yanavlasov Jul 31, 2019
d3d5dcd
http2: configure HTTP/2 flood mitigation through runtime. (#32)
yanavlasov Aug 2, 2019
f2129cb
http2: configure logging of HTTP/2 flood attacks through runtime. (#34)
mattklein123 Aug 10, 2019
3f5580f
config: enforcing terminal filters are the final filter in their resp…
alyssawilk Aug 13, 2019
38a4d86
http1: remove unimplemented constructor (#7905)
zuercher Aug 13, 2019
1dc418f
Patch in ecf04cc and 49f0fb9 from gRPC. (#7850)
lberki Aug 13, 2019
8e07e82
xds: apply node identifier optimization (#7876)
kyessenov Aug 13, 2019
128acb5
config: WatchMap: cleaner management of watches (#7108)
fredlas Aug 13, 2019
261d443
grpc access logger: refactor common gRPC ALS out (#7879)
lizan Aug 14, 2019
5852653
lua: Allow to set header entry as table to httpCall and respond APIs …
dio Aug 14, 2019
71a679d
tools: add comprehensive coverage reporting to router check (#7865)
dschaller Aug 14, 2019
8747862
grpc-json transcoder: add integration test (#7703)
TAOXUY Aug 14, 2019
b2719f6
config: fully validating terminal filter ordering for L4 (#7904)
alyssawilk Aug 14, 2019
4d2ca4d
coverage: publish report to GCS (#7909)
lizan Aug 14, 2019
e1d713e
cleanup: conn_manager.cc err message word fix (#7901)
Aug 14, 2019
3dd84d3
use new buffers by default (#7883)
securityinsanity Aug 14, 2019
aff9caf
upgrade yapf to the latest version (#7926)
securityinsanity Aug 15, 2019
5c9f1f0
router: remote implicit case of lambda to bool (#7930)
zuercher Aug 15, 2019
882a306
add DNS SAN as principal (#7881)
ramaraochavali Aug 15, 2019
15d5486
fix misspelled words in client.py help message (#7933)
Aug 15, 2019
b73e5e6
LoadBalancer: Skip EdfScheduler creation in LoadBalancerBase if all h…
antoniovicente Aug 15, 2019
6ab3351
Make iterators const (#7924)
Aug 15, 2019
d4186f2
bazel: set strict action env (#7940)
mattklein123 Aug 15, 2019
4f0fc2d
runtime: add static layer case to loader impl (#7932)
asraa Aug 15, 2019
e64361b
test: mock cleanup (#7922)
alyssawilk Aug 15, 2019
560d09f
Redis cluster read replica (#7496)
HenryYYang Aug 15, 2019
b9fe0b9
docs: 0 disables route timeout (#7931)
nmeessen Aug 16, 2019
5a7bab7
redis: fix merge race (#7943)
lizan Aug 16, 2019
cb15cc3
Dependency: Update rules_go, Go, Python, curl, bazel-toolchains, baze…
moderation Aug 16, 2019
1c27f54
network: Conns with the same local/remote address are local (#7840)
andrewjjenkins Aug 16, 2019
817b2e3
cleanup: fix words in assertion message. (#7950)
Aug 16, 2019
0418a85
config: distinct CLI options for strict/permissive checking of static…
htuch Aug 19, 2019
6858df7
tls: update BoringSSL to 265728de (3865). (#7952)
PiotrSikora Aug 19, 2019
869981f
test: fix data races in FakeStream. (#7929)
PiotrSikora Aug 19, 2019
f90e1b0
filter: add conditions to access control filter (#7716)
kyessenov Aug 19, 2019
d2e2cd6
ext_authz: add metadata_context to ext_authz filter (#7818)
Aug 20, 2019
5aede46
fuzz: codec impl timeout fix + speed ups (#7963)
asraa Aug 20, 2019
c6b190b
docs: more detail about tracking down deprecated features (#7972)
alyssawilk Aug 20, 2019
9421bdd
Fix the alignement in optval of setsockopt when compiled with libc++.…
lizan Aug 20, 2019
c505077
security: some intra-entity and 3rd party embargo clarifications. (#7…
htuch Aug 21, 2019
7eed733
protobuf: IWYU (#7989)
AndresGuedez Aug 21, 2019
f04dccb
api: add name into filter chain (#7966)
lambdai Aug 21, 2019
5d42b9b
rds: validate config in depth before update config dump (#7956)
lizan Aug 21, 2019
87c38e1
tls: maintain a free slot index set in TLS InstanceImpl to allocate i…
stevenzzzz Aug 21, 2019
09466b5
redis: handle invalid ip address from cluster slots and added tests (…
HenryYYang Aug 21, 2019
6ab225d
protobuf: report field numbers for unknown fields. (#7978)
htuch Aug 21, 2019
4549d12
Content in envoy docs does not cover whole page (#7993)
mk46 Aug 21, 2019
719245f
stats: Add option to switch between fake and real symbol-tables on th…
jmarantz Aug 21, 2019
c7110f8
api config: add build rules for go protos (#7987)
nareddyt Aug 22, 2019
7267542
test: don't use <experimental/filesystem> on macOS. (#8000)
PiotrSikora Aug 22, 2019
ffeffd7
event: adding the capability of creating an alarm with a given scope…
alyssawilk Aug 22, 2019
d4dc0a5
ext authz: add dns san support for ext authz service (#7948)
ramaraochavali Aug 22, 2019
e1ecb02
accesslog: don't open log file with read flag (#7998)
lizan Aug 22, 2019
43c4acd
protobuf: towards unifying PGV, deprecated and unknown field validati…
htuch Aug 22, 2019
b2da45a
http: forwarding x-forwarded-proto from trusted proxies (#7995)
alyssawilk Aug 22, 2019
f12adac
build: adding an option to hard-fail when deprecated config is used. …
alyssawilk Aug 22, 2019
797d58f
envoy_cc_library: add export of foo_with_external_headers (#8005)
oschaaf Aug 22, 2019
57d48a3
ci: add fuzz test targets to ci (#7949)
asraa Aug 22, 2019
9a3a234
tls: support BoringSSL private key async functionality (#6326)
ipuustin Aug 22, 2019
b44a00b
use SymbolTableCreator rather than fakes in a few stray places. (#8006)
jmarantz Aug 22, 2019
69f805c
[router] Add SRDS configUpdate impl (#7451)
stevenzzzz Aug 22, 2019
225ad90
Fix version history (#8021)
Aug 23, 2019
7f97060
tools: sync tool for envoyproxy/assignable team. (#8015)
htuch Aug 23, 2019
faad477
redis: fix onHostHealthUpdate got called before the cluster is resolv…
HenryYYang Aug 23, 2019
e67923f
api/build: migrate UDPA proto tree to external cncf/udpa repository. …
htuch Aug 23, 2019
e958cf9
http: tracking active session under L7 timers (#7782)
alyssawilk Aug 23, 2019
73c2b64
upstream: remove thread local cluster after triggering call backs (#8…
ramaraochavali Aug 23, 2019
07e3e28
upstream: Introducing close_connections_on_host_set_change property (…
Aug 23, 2019
dbb11fd
upstream: delete stale TODO (#8028)
mattklein123 Aug 23, 2019
640b5a4
Enhance comment about MonotonicTime (#8011)
fcrisciani Aug 23, 2019
fd19af8
build: some missing dep fixups for Google import. (#8026)
htuch Aug 23, 2019
eff0201
introduce safe regex matcher based on re2 engine (#7878)
mattklein123 Aug 23, 2019
25e3e86
docs: reorganize configuration tree (#8027)
mattklein123 Aug 23, 2019
903351f
build: missing regex include. (#8032)
htuch Aug 23, 2019
6ff0bce
[headermap] speedup for appending data (#8029)
asraa Aug 25, 2019
4d78ff5
eds: avoid send too many ClusterLoadAssignment requests (#7976)
l8huang Aug 25, 2019
b0aca30
Set the bazel verison to 0.28.1 explicitly (#8037)
Yikun Aug 26, 2019
fc32b64
Read_policy is not set correctly. (#8034)
HenryYYang Aug 26, 2019
5c2b34b
admin: fix /server_info hot restart version (#8022)
mattklein123 Aug 26, 2019
fdd0e01
test: adding debug hints for integration test config failures (#8038)
alyssawilk Aug 26, 2019
d39bd81
udp_listener: refactor ActiveUdpListener creation (#7884)
danzh2010 Aug 26, 2019
8bdebbf
accesslog: implement TCP gRPC access logger (#7941)
lizan Aug 26, 2019
816d6f1
tracing: add OpenCensus agent exporter support to OpenCensus driver. …
g-easy Aug 27, 2019
e1cd4cc
Exporting platform_impl_lib headers (#8045)
oschaaf Aug 27, 2019
854e800
access_log: minimal log file error handling (#7938)
zuercher Aug 27, 2019
1fc6c6e
tracing: add grpc-status and grpc-message to spans (#7996)
cgilmour Aug 27, 2019
0a3fc6a
fuzz: add bounds to statsh flush interval (#8043)
asraa Aug 27, 2019
44634d8
Improve tools/stack_decode.py (#8041)
LukeShu Aug 27, 2019
0006efc
build: tell googletest to use absl stacktrace (#8047)
lizan Aug 27, 2019
6dd0ee1
Update references to local scripts to enable using build container fo…
scheler Aug 27, 2019
d99e7f6
bazel: patch gRPC to fix Envoy builds with glibc v2.30 (#7971)
Aug 27, 2019
e674640
build: link C++ stdlib dynamically in sanitizer runs (#8019)
lizan Aug 28, 2019
b020b63
test: cleaning up test runtime (#8012)
alyssawilk Aug 28, 2019
64243c9
test: improved coverage and handling of deprecated config (#8057)
alyssawilk Aug 28, 2019
f8e42ae
[Docs typo] Remote Executioon -> Remote Execution (#8061)
colinschoen Aug 28, 2019
f80188e
api: Fix duplicate java_outer_classname declarations (#8059)
Aug 28, 2019
b8966cb
http: making the behavior of the response Server header configurable …
alyssawilk Aug 28, 2019
f588da0
use bazelversion for filter-example too (#8069)
lizan Aug 28, 2019
c2e8eda
grpc-httpjson-transcode: Update for RFC2045 support (#8065)
cypres Aug 28, 2019
5e45d48
stats: Clean up all calls to Scope::counter() et al in production cod…
jmarantz Aug 28, 2019
7f060b6
tls_inspector: inline the recv in the onAccept (#7951)
lambdai Aug 29, 2019
0fde42e
Fixes gcc 8.3.1 build failure due to FilterChainBenchmarkFixture::Set…
Aug 29, 2019
9ac491a
test: fix ups for various deprecated fields (#8068)
alyssawilk Aug 29, 2019
8556a75
include: add log dependency header to connection_handler.h (#8072)
nareddyt Aug 29, 2019
4f2c5a4
quiche: Update QUICHE dep (#8044)
danzh2010 Aug 29, 2019
29f199c
tools: deprecated field check in Route Checker tool (#8058)
jyotimahapatra Aug 29, 2019
6c6e18e
tracing: Add support for sending data in Zipkin v2 format (#6985)
dio Aug 30, 2019
0b0aa3f
Route Checker tool Fix code coverage bug in proto based schema (#8101)
jyotimahapatra Aug 30, 2019
7960564
[hcm] Add scoped RDS routing into HCM (#7762)
stevenzzzz Aug 30, 2019
678bf8c
owners: add @asraa and @lambdai to OWNERS. (#8110)
htuch Aug 30, 2019
dad0f2e
protobuf: recursively validate unknown fields. (#8094)
htuch Sep 2, 2019
0eab93b
Fuzz reuse (#8119)
securityinsanity Sep 3, 2019
0b026cf
Set INCLUDE_DIRECTORIES so libcurl can find local urlapi.h (#8113)
jmillikin-stripe Sep 3, 2019
911f3b0
cleanup: move test utility methods in ScopedRdsIntegrationTest to bas…
stevenzzzz Sep 3, 2019
1339ed2
upstream: fix invalid access of ClusterMap iterator during warming cl…
AndresGuedez Sep 3, 2019
b28edca
api:Add a flag to disable overprovisioning in ClusterLoadAssignment (…
jaychenatr Sep 3, 2019
085d72b
api: clone v2[alpha] to v3alpha. (#8125)
htuch Sep 3, 2019
0ef3137
dubbo: Fix heartbeat packet parsing error (#8103)
zyfjeff Sep 3, 2019
cf55298
stats: Shared cluster isolated stats (#8118)
jmarantz Sep 3, 2019
39a4423
protodoc: upgrade to Python 3. (#8129)
htuch Sep 3, 2019
b06e2b5
protodoc: single source-of-truth for doc protos. (#8132)
htuch Sep 3, 2019
d504fde
api: organize go_proto_libraries (#8003)
kyessenov Sep 4, 2019
1b3b4ae
api: straggler v2alpha1 -> v3alpha clone. (#8133)
htuch Sep 4, 2019
2e6695b
docs: remove extraneous escape (#8150)
zuercher Sep 4, 2019
f62a389
Do not 503 on Upgrade: h2c instead remove the header and ignore. (#7981)
jplevyak Sep 4, 2019
32590dc
docs: add line on installing xcode for macOS build flow (#8139)
LisaLudique Sep 4, 2019
aeb5d69
docs: note which header expressions cannot be used for request header…
zuercher Sep 4, 2019
4478c19
api: use traffic_direction over operation_name if specified (#7999)
kyessenov Sep 4, 2019
d11c7e7
add more diagnostic logs (#8153)
yxue Sep 5, 2019
277e717
http conn man: add tracing config for path length in tag (#8095)
douglas-reid Sep 5, 2019
d21d92c
cds: Add general-purpose LB policy configuration (#7744)
markdroth Sep 5, 2019
22e4827
thrift_proxy: fix crash on invalid transport/protocol (#8143)
zuercher Sep 5, 2019
e7f0b71
api: strip gogoproto annotations (#8163)
kyessenov Sep 6, 2019
c6f0ee2
hotrestart: remove dynamic_resources from server config used by hotre…
l8huang Sep 6, 2019
84ceadc
clang-tidy: misc-unused-using-decls (#8159)
derekargueta Sep 6, 2019
5dc6f09
build: curl with c-ares, nghttp2 and zlib (#8154)
troshko111 Sep 6, 2019
838eb20
log: add upstream TLS info (#7911)
kyessenov Sep 6, 2019
cc03f79
fix windows implementation of PlatformImpl (#8169)
achasveachas Sep 6, 2019
451bfe8
Update Opencensus SHA (#8173)
bianpengyuan Sep 7, 2019
6f273c2
Outlier Detection: use gRPC status code for detecting failures (#7942)
ZhouyihaiDing Sep 7, 2019
99e3c65
fix build (#8177)
derekargueta Sep 8, 2019
ced130a
docs: improving websocket docs (#8156)
alyssawilk Sep 9, 2019
3f63838
Upstream WebAssembly VM and Null VM from envoyproxy/envoy-wasm. (#8020)
jplevyak Sep 9, 2019
44a8588
quiche: implement Envoy Quic stream and connection (#7721)
danzh2010 Sep 9, 2019
809f0e3
protodoc/api_proto_plugin: generic API protoc plugin framework. (#8157)
htuch Sep 9, 2019
874d7d3
adaptive concurrency: Gradient algorithm implementation (#7908)
Sep 9, 2019
5aea70c
ext_authz: Check for cluster before sending HTTP request (#8144)
dio Sep 10, 2019
66cc26a
make getters const-ref (#8192)
kyessenov Sep 10, 2019
d5515ae
test: add curl features check (#8194)
troshko111 Sep 10, 2019
cee989a
subset lb: allow ring hash/maglev LB to work with subsets (#8030)
zuercher Sep 10, 2019
ad10a97
redis: add a request time metric to redis upstream (#7890)
FAYiEKcbD0XFqF2QK2E4viAHg8rMm2VbjYKdjTg Sep 10, 2019
38b926c
bazel: update bazel to 0.29.1 (#8198)
lizan Sep 10, 2019
e2eb258
upstream: Add ability to disable host selection during panic (#8024)
csssuf Sep 11, 2019
a758e8c
metrics service: flush histogram buckets (#8180)
ramaraochavali Sep 11, 2019
eb11fde
tracing: fix random sample fraction percent (#8205)
bianpengyuan Sep 11, 2019
c78c4b4
stats: Add per-host memory usage test case to stats_integration_test …
antoniovicente Sep 11, 2019
c9703f9
router check tool: add flag for only printing failed tests (#8160)
Sep 11, 2019
0ee3cc3
fix link to runtime docs (#8204)
derekargueta Sep 11, 2019
c5ffdda
config: make SlotImpl detachable from its owner, and add a new runOnA…
stevenzzzz Sep 11, 2019
da38e73
test: remove static config from subset lb integration test (#8203)
zuercher Sep 11, 2019
9de651a
cleanup: clarify Cluster.filters and Dispatcher::createClientConnecti…
fredlas Sep 11, 2019
7df4775
redis: health check is not sending the auth command on its connection…
HenryYYang Sep 11, 2019
73ad41a
redis: mirroring should work when default value is zero, not just gre…
FAYiEKcbD0XFqF2QK2E4viAHg8rMm2VbjYKdjTg Sep 11, 2019
d0e1db6
tools: regularize pip/venv for format_python_tools.py. (#8176)
htuch Sep 11, 2019
90ed92f
absl: Absl hash hook in a couple of places rather than hash functors …
jmarantz Sep 12, 2019
5551315
Update dependency: jwt_verify_lib (#8212)
dgn Sep 12, 2019
36cf26b
upstream: add failure percentage-based outlier detection (#8130)
csssuf Sep 12, 2019
644d039
Merge remote-tracking branch 'upstream/master' into ambassador-envoy-…
concaf Sep 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 56 additions & 8 deletions .azure-pipelines/linux.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,62 @@
resources:
containers:
- container: envoy-build
image: envoyproxy/envoy-build:ec38ecb88fd1abe55ab1daa2f6bd239ffccc9d98

jobs:
- job: BuildEnvoy
- job: bazel
strategy:
matrix:
release:
CI_TARGET: 'bazel.release'
tsan:
CI_TARGET: 'bazel.tsan'
gcc:
CI_TARGET: 'bazel.gcc'
compile_time_options:
CI_TARGET: 'bazel.compile_time_options'
fuzz:
CI_TARGET: 'bazel.fuzz'
dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel.
timeoutInMinutes: 360
pool:
vmImage: 'Ubuntu 16.04'
container: envoy-build
steps:
- script: bazel build //source/exe:envoy-static
- bash: |
echo "disk space at beginning of build:"
df -h
displayName: "Check disk space at beginning"

- bash: |
sudo mkdir -p /etc/docker
echo '{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
displayName: "Enable IPv6"

- script: ci/run_envoy_docker.sh 'ci/do_ci.sh $(CI_TARGET)'
workingDirectory: $(Build.SourcesDirectory)
env:
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
ENVOY_RBE: "true"
BAZEL_BUILD_EXTRA_OPTIONS: "--config=remote-ci --config=remote --jobs=100 --curses=no"
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
displayName: "Run CI script"

- bash: |
echo "disk space at end of build:"
df -h
displayName: "Check disk space at end"
condition: always()

- task: PublishTestResults@2
inputs:
testResultsFiles: '**/bazel-out/**/testlogs/**/test.xml'
testRunTitle: '$(CI_TARGET)'
searchFolder: $(Build.StagingDirectory)/tmp
condition: always()

- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: "$(Build.StagingDirectory)/envoy"
artifactName: $(CI_TARGET)
condition: always()
2 changes: 1 addition & 1 deletion .azure-pipelines/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- script: ./ci/mac_ci_steps.sh
displayName: 'Run Mac CI'
env:
BAZEL_REMOTE_CACHE: remotebuildexecution.googleapis.com
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)

Expand Down
7 changes: 5 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
tasks:
ubuntu_1804:
release:
platform: ubuntu1804
build_targets:
- "//source/..."
- "//source/exe:envoy-static"
test_targets:
- "//test/..."
test_flags:
# Workaround for https://github.com/envoyproxy/envoy/issues/7647
- "--deleted_packages=//test/extensions/tracers/dynamic_ot"
114 changes: 100 additions & 14 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,48 @@
# Envoy specific Bazel build/test options.

# Bazel doesn't need more than 200MB of memory based on memory profiling:
# Bazel doesn't need more than 200MB of memory for local build based on memory profiling:
# https://docs.bazel.build/versions/master/skylark/performance.html#memory-profiling
# The default JVM max heapsize is 1/4 of physical memory up to 32GB which could be large
# enough to consume all memory constrained by cgroup in large host, which is the case in CircleCI.
# Limiting JVM heapsize here to let it do GC more when approaching the limit to
# leave room for compiler/linker.
startup --host_jvm_args=-Xmx512m
# The number 2G is choosed heuristically to both support in CircleCI and large enough for RBE.
# Startup options cannot be selected via config.
startup --host_jvm_args=-Xmx2g

build --workspace_status_command=bazel/get_workspace_status
build --experimental_remap_main_repo
build --experimental_local_memory_estimate
build --experimental_strict_action_env=true
build --host_force_python=PY2
build --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a
build --action_env=BAZEL_LINKOPTS=-lm
build --host_javabase=@bazel_tools//tools/jdk:remote_jdk11
build --javabase=@bazel_tools//tools/jdk:remote_jdk11

# We already have absl in the build, define absl=1 to tell googletest to use absl for backtrace.
build --define absl=1

# Pass PATH, CC and CXX variables from the environment.
build --action_env=CC
build --action_env=CXX
build --action_env=PATH

# Common flags for sanitizers
build:sanitizer --define tcmalloc=disabled
build:sanitizer --linkopt -ldl
build:sanitizer --build_tag_filters=-no_san
build:sanitizer --test_tag_filters=-no_san

# Basic ASAN/UBSAN that works for gcc
build:asan --config=sanitizer
# ASAN install its signal handler, disable ours so the stacktrace will be printed by ASAN
build:asan --define signal_trace=disabled
build:asan --define ENVOY_CONFIG_ASAN=1
build:asan --copt -fsanitize=address,undefined
build:asan --linkopt -fsanitize=address,undefined
build:asan --copt -fno-sanitize=vptr
build:asan --linkopt -fno-sanitize=vptr
build:asan --linkopt -fuse-ld=lld
build:asan --linkopt -ldl
build:asan --define tcmalloc=disabled
build:asan --build_tag_filters=-no_asan
build:asan --test_tag_filters=-no_asan
build:asan --define signal_trace=disabled
build:asan --copt -DADDRESS_SANITIZER=1
build:asan --copt -D__SANITIZE_ADDRESS__
build:asan --test_env=ASAN_OPTIONS=handle_abort=1:allow_addr2line=true:check_initialization_order=true:strict_init_order=true:detect_odr_violation=1
Expand All @@ -28,41 +51,104 @@ build:asan --test_env=ASAN_SYMBOLIZER_PATH

# Clang ASAN/UBSAN
build:clang-asan --config=asan
build:clang-asan --linkopt -fuse-ld=lld

# macOS ASAN/UBSAN
build:macos-asan --config=asan
# Workaround, see https://github.com/bazelbuild/bazel/issues/6932
build:macos-asan --copt -Wno-macro-redefined
build:macos-asan --copt -D_FORTIFY_SOURCE=0
# Workaround, see https://github.com/bazelbuild/bazel/issues/4341
build:macos-asan --copt -DGRPC_BAZEL_BUILD
# Dynamic link cause issues like: `dyld: malformed mach-o: load commands size (59272) > 32768`
build:macos-asan --dynamic_mode=off

# Clang TSAN
build:clang-tsan --config=sanitizer
build:clang-tsan --define ENVOY_CONFIG_TSAN=1
build:clang-tsan --copt -fsanitize=thread
build:clang-tsan --linkopt -fsanitize=thread
build:clang-tsan --linkopt -fuse-ld=lld
build:clang-tsan --define tcmalloc=disabled
# Needed due to https://github.com/libevent/libevent/issues/777
build:clang-tsan --copt -DEVENT__DISABLE_DEBUG_MODE

# Clang MSAN - broken today since we need to rebuild lib[std]c++ and external deps with MSAN
# support (see https://github.com/envoyproxy/envoy/issues/443).
build:clang-msan --config=sanitizer
build:clang-msan --define ENVOY_CONFIG_MSAN=1
build:clang-msan --copt -fsanitize=memory
build:clang-msan --linkopt -fsanitize=memory
build:clang-msan --define tcmalloc=disabled
build:clang-msan --copt -fsanitize-memory-track-origins=2

# Clang with libc++
# TODO(cmluciano) fix and re-enable _LIBCPP_VERSION testing for TCMALLOC in Envoy::Stats::TestUtil::hasDeterministicMallocStats
# and update stats_integration_test with appropriate m_per_cluster value
build:libc++ --action_env=CC
build:libc++ --action_env=CXX
build:libc++ --action_env=CXXFLAGS=-stdlib=libc++
build:libc++ --action_env=PATH
build:libc++ --action_env=BAZEL_CXXOPTS=-stdlib=libc++
build:libc++ --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a:-lm
build:libc++ --host_linkopt=-fuse-ld=lld
build:libc++ --define force_libcpp=enabled

# Optimize build for binary size reduction.
build:sizeopt -c opt --copt -Os

# Test options
test --test_env=HEAPCHECK=normal --test_env=PPROF_PATH
build --test_env=HEAPCHECK=normal --test_env=PPROF_PATH

# Remote execution: https://docs.bazel.build/versions/master/remote-execution.html
build:rbe-toolchain --host_platform=@envoy//bazel/toolchains:rbe_ubuntu_clang_platform
build:rbe-toolchain --platforms=@envoy//bazel/toolchains:rbe_ubuntu_clang_platform
build:rbe-toolchain --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1

build:rbe-toolchain-clang --config=rbe-toolchain
build:rbe-toolchain-clang --crosstool_top=@rbe_ubuntu_clang//cc:toolchain
build:rbe-toolchain-clang --extra_toolchains=@rbe_ubuntu_clang//config:cc-toolchain
build:rbe-toolchain-clang --action_env=CC=clang --action_env=CXX=clang++ --action_env=PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/llvm-8/bin

build:rbe-toolchain-clang-libc++ --config=rbe-toolchain
build:rbe-toolchain-clang-libc++ --crosstool_top=@rbe_ubuntu_clang_libcxx//cc:toolchain
build:rbe-toolchain-clang-libc++ --extra_toolchains=@rbe_ubuntu_clang_libcxx//config:cc-toolchain
build:rbe-toolchain-clang-libc++ --action_env=CC=clang --action_env=CXX=clang++ --action_env=PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/llvm-8/bin
build:rbe-toolchain-clang-libc++ --define force_libcpp=enabled

build:rbe-toolchain-gcc --config=rbe-toolchain
build:rbe-toolchain-gcc --crosstool_top=@rbe_ubuntu_gcc//cc:toolchain
build:rbe-toolchain-gcc --extra_toolchains=@rbe_ubuntu_gcc//config:cc-toolchain

build:remote --spawn_strategy=remote,sandboxed,local
build:remote --strategy=Javac=remote,sandboxed,local
build:remote --strategy=Closure=remote,sandboxed,local
build:remote --strategy=Genrule=remote,sandboxed,local
build:remote --remote_timeout=3600
build:remote --auth_enabled=true
build:remote --experimental_inmemory_jdeps_files
build:remote --experimental_inmemory_dotd_files
build:remote --experimental_remote_download_outputs=toplevel

build:remote-clang --config=remote
build:remote-clang --config=rbe-toolchain-clang

# Docker sandbox
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build@sha256:9236915d10004a35f2439ce4a1c33c1dbb06f95f84c4a4497d4e4f95cdc9e07f
build:docker-sandbox --spawn_strategy=docker
build:docker-sandbox --strategy=Javac=docker
build:docker-sandbox --strategy=Closure=docker
build:docker-sandbox --strategy=Genrule=docker
build:docker-sandbox --define=EXECUTOR=remote
build:docker-sandbox --experimental_docker_verbose
build:docker-sandbox --experimental_enable_docker_sandbox

build:docker-clang --config=docker-sandbox
build:docker-clang --config=rbe-toolchain-clang

# CI configurations
build:remote-ci --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:remote-ci --remote_executor=grpcs://remotebuildexecution.googleapis.com

# Fuzz builds
build:asan-fuzzer --config=asan
build:asan-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:asan-fuzzer --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
build:asan-fuzzer --copt=-fsanitize-coverage=trace-pc-guard
# Remove UBSAN halt_on_error to avoid crashing on protobuf errors.
build:asan-fuzzer --test_env=UBSAN_OPTIONS=print_stacktrace=1
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.29.1
69 changes: 19 additions & 50 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ executors:
ubuntu-build:
description: "A regular build executor based on ubuntu image"
docker:
- image: envoyproxy/envoy-build:ec38ecb88fd1abe55ab1daa2f6bd239ffccc9d98
# NOTE: Update bazel/toolchains/rbe_toolchains_config.bzl with sha256 digest to match the image here.
- image: envoyproxy/envoy-build:cb15cc3d2010aff77d6e022ddf6d723fa8becbc0
resource_class: xlarge
working_directory: /source

Expand Down Expand Up @@ -52,25 +53,7 @@ jobs:
- store_artifacts:
path: /build/envoy/generated
destination: /
tsan:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.tsan
- store_artifacts:
path: /build/envoy/generated
destination: /

compile_time_options:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.compile_time_options
- store_artifacts:
path: /build/envoy/generated
destination: /
api:
executor: ubuntu-build
steps:
Expand All @@ -93,28 +76,6 @@ jobs:
fingerprints:
- "f6:f9:df:90:9c:4b:5f:9c:f4:69:fd:42:94:ff:88:24"
- run: ci/filter_example_mirror.sh
ipv6_tests:
machine: true
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run:
name: enable ipv6
command: |
echo '{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}' | sudo tee /etc/docker/daemon.json

sudo service docker restart
- run: dig go.googlesource.com A go.googlesource.com AAAA # Debug IPv6 network issues
- run: ifconfig
- run: route -A inet -A inet6
- run: curl -v https://go.googlesource.com
- run: curl -6 -v https://go.googlesource.com || true
- run: ./ci/do_circle_ci_ipv6_tests.sh
- store_artifacts:
path: /tmp/envoy-docker/envoy/generated/failed-testlogs

coverage:
executor: ubuntu-build
Expand All @@ -125,11 +86,24 @@ jobs:
command:
ci/do_circle_ci.sh bazel.coverage
no_output_timeout: 60m
- run: ci/coverage_publish.sh
- persist_to_workspace:
root: /build/envoy/generated
paths:
- coverage
- store_artifacts:
path: /build/envoy/generated
destination: /

coverage_publish:
docker:
- image: google/cloud-sdk
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- attach_workspace:
at: /build/envoy/generated
- run: ci/coverage_publish.sh

clang_tidy:
executor: ubuntu-build
steps:
Expand All @@ -153,11 +127,7 @@ jobs:
- run: ci/do_circle_ci.sh check_spelling_pedantic
build_image:
docker:
- image: circleci/python:3.7
environment:
# See comment in do_circle_ci.sh for why we do this.
NUM_CPUS: 8
resource_class: xlarge
- image: google/cloud-sdk
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand Down Expand Up @@ -190,12 +160,11 @@ workflows:
tags:
only: /^v.*/
- asan
- tsan
- compile_time_options
- api
- filter_example_mirror
- ipv6_tests
- coverage
- coverage_publish:
requires: [coverage]
- format
- clang_tidy
- build_image
Expand Down
Loading