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

sync from master. #6

Merged
merged 471 commits into from
Jan 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
471 commits
Select commit Hold shift + click to select a range
6e5227e
Added Fatal Action extension point. (#13676)
KBaichoo Nov 18, 2020
8d62990
conn_pool: track streams across the pool (#13684)
alyssawilk Nov 18, 2020
7c0e0b9
dispatcher: Remove obsolete runtime feature envoy.reloadable_features…
antoniovicente Nov 18, 2020
9ccd778
fix sds_dynamic_key_rotation_setup.sh running from other repos (#14086)
lizan Nov 19, 2020
2f125dd
matching: only provide string matcher in SinglePredicate (#14084)
snowp Nov 19, 2020
5509d88
doc fix (#14093)
lambdai Nov 19, 2020
37326ee
test: Adding zerolen headers upstream flood tests (#14035)
adisuissa Nov 19, 2020
6be36de
listener: allow setting only a default filter chain (#14025)
tbarrella Nov 19, 2020
cc024ae
wasm: fix network leak (#13836)
kyessenov Nov 19, 2020
f6fba53
http2: fixing upstream sending metadata after ending the stream (#14061)
adisuissa Nov 19, 2020
6e08670
test: improve docs and robustness of coverage script. (#14021)
htuch Nov 19, 2020
bf17295
tls: update BoringSSL to 1ce6682c (4280). (#14072)
PiotrSikora Nov 19, 2020
e4fd69d
test: avoid use after free in oauth_integration_test (#14103)
antoniovicente Nov 19, 2020
928a62b
buffer: add a method for getting only the first slice (#14050)
ggreenway Nov 19, 2020
11dee4e
[Level Events] manage level events registration mask (#13787)
Nov 20, 2020
116150e
examples: Update SkyWalking version (#13938)
JaredTan95 Nov 20, 2020
ca6e246
examples: add VRP runtime validation to verify_examples. (#14099)
htuch Nov 20, 2020
1ed6ddf
udp: properly handle truncated/dropped datagrams (#14122)
cpakulski Nov 20, 2020
6fe0a68
mongo: swap cx destroy metrics (#13991)
Nov 20, 2020
6a2ea36
Windows CI: Upload test results to AZP (#14083)
sunjayBhatia Nov 20, 2020
31e225b
proxy protocol: set downstreamRemoteAddress on StreamInfo (#14131)
ggreenway Nov 21, 2020
59e2968
lua: reset downstream_ssl_connection in StreamInfoWrapper when object…
MarcinFalkowski Nov 23, 2020
0592926
fix default codec in integration tests (#14101)
asraa Nov 23, 2020
9d4763c
Initial support for upstream HTTP/1.1 tunneling (#13293)
irozzo-1A Nov 23, 2020
4f5b40c
extension: add per host cluster upstream extension test (#13915)
lambdai Nov 23, 2020
6706d44
tracer: fix zipkin proto documentation (#14112)
ramaraochavali Nov 23, 2020
90e3148
Update link of "life of a request" (#14097)
Nov 23, 2020
ea10523
perf: add annotations for non-concurrent cross-scoped duration measur…
rojkov Nov 23, 2020
f0235a1
overload: allow creation of custom scaled timers (#14077)
akonradi Nov 23, 2020
7bea2d2
test: fix use-after-free in fake upstream (#14067)
akonradi Nov 23, 2020
438ff31
coverage: reset expectations for source/common/event/... (#14140)
jmarantz Nov 23, 2020
d1f99fc
Use simulated time for Envoy server (#14144)
akonradi Nov 23, 2020
5adcd1f
Only check sh format for repository files (#14146)
akonradi Nov 23, 2020
6ddab04
cleanup: Replace deprecated thread annotations macros (#14150)
nareddyt Nov 23, 2020
c41850c
utilities: Implemented an ostream that writes to a user provided buff…
KBaichoo Nov 23, 2020
0c2f446
test: reorder and remove conflicts in coverages file (#14159)
jmarantz Nov 24, 2020
c508343
[test] Add emptydata/continuation to upstream flood tests (#14100)
asraa Nov 24, 2020
c3cddf7
Revert "ext_auth: add option to measure timeout when check request is…
yuval-k Nov 24, 2020
983be71
ci: compile_time_options fixes (#14105)
lizan Nov 24, 2020
8c4a3c7
xdstp: rename UDPA to xDS. (#14157)
htuch Nov 25, 2020
e9fde68
vrp: fix local build flow, add to examples CI validation. (#14164)
htuch Nov 25, 2020
6a8785c
http: fixing a protocol TODO (#14145)
alyssawilk Nov 25, 2020
e42ed4d
Fixed typo. (#14171)
KBaichoo Nov 25, 2020
d775afe
[fuzz] add back fuzzing build macro to CLI (#14182)
asraa Nov 25, 2020
b5f6621
kafka: fix broker integration test (#14177)
adamkotwasinski Nov 25, 2020
bbb81e4
Introduce creation_time field into host description (#13631)
Nov 25, 2020
4ac9799
dependencies: automated OSSF Scorecard runs for Envoy deps. (#14191)
htuch Nov 26, 2020
0f7952d
deps: update Abseil library (#14041)
rojkov Nov 26, 2020
c70b3e6
filter contract: clarification around local replies (#14193)
Nov 28, 2020
c0a0449
Removed `--use-fake-symbol-table` option. (#14178)
Nov 28, 2020
41de291
doc: mention gperftools explicitly in PPROF.md (#14199)
rojkov Nov 28, 2020
39bf75f
kafka: add missing unit tests (#14195)
adamkotwasinski Nov 28, 2020
021e815
[Windows] Fix thrift proxy tests (#13220)
Nov 28, 2020
1209a69
server: Return nullopt when process_context is nullptr (#14181)
justin-mp Nov 28, 2020
dee245d
[grpc] validate grpc config for illegal characters (#14129)
asraa Nov 28, 2020
af17f95
repokitteh: add support for randomized auto-assign. (#14185)
htuch Nov 30, 2020
035509e
docs: clarify behavior of hedge_on_per_try_timeout (#12983)
ikonst Nov 30, 2020
5e2a0e6
update cares (#14213)
asraa Nov 30, 2020
2aee439
thrift filter: support skip decoding data after metadata in the thrif…
Nov 30, 2020
468d7c9
dependencies: fix release_dates error behavior. (#14216)
htuch Nov 30, 2020
237b29d
http: add Kill Request HTTP filter (#14170)
qqustc Dec 1, 2020
2745d66
Windows: enable tests and envoy-static.exe pdb file (#13688)
sunjayBhatia Dec 1, 2020
7985d81
Fix some errors in the switch statement when decode dubbo response (#…
wbpcode Dec 1, 2020
be92881
Update docs for skywalking tracer (#14210)
wbpcode Dec 1, 2020
2dc72a9
cleanup: replace ad-hoc [0, 1] value types with UnitFloat (#14081)
akonradi Dec 1, 2020
ae7d841
dependencies: allowlist CVE-2020-8277 to prevent false positives. (#1…
htuch Dec 1, 2020
3736b50
bazelci: add fuzz coverage (#14179)
lizan Dec 1, 2020
1c06967
upstream: avoid reset after end_stream in TCP HTTP upstream (#14106)
snowp Dec 1, 2020
230d1ec
Windows: Enable flaky test result processing (#14102)
sunjayBhatia Dec 2, 2020
20bd8f7
[access log] Refactor gRPC access logger to support log sinks with di…
yanavlasov Dec 2, 2020
20171dd
dependencies: allowlist CVE-2020-7768 to prevent false positives. (#1…
htuch Dec 2, 2020
d7b10e8
cluster manager: use clusters() instead of get() for main thread clus…
mattklein123 Dec 2, 2020
7554d61
config: reworking HTTP upstream config (#14079)
alyssawilk Dec 2, 2020
55157ca
protodoc: Add label for field. (#14227)
Dec 3, 2020
f8b234b
postgres: Fix incorrect transaction metrics calculation (#14068)
fabriziomello Dec 3, 2020
98d2f3b
External processing filter protos (#13893)
gbrail Dec 3, 2020
248f798
wasm: use wasm_cc_binary from cpp-sdk and simplify BUILD rules (#14114)
lizan Dec 3, 2020
215557b
Clean up exceptions in proxy protocol listener (#14015)
rulex123 Dec 3, 2020
745ca24
connection: skip read activate call when reading from transport socke…
antoniovicente Dec 3, 2020
6ca4644
xds: refactor and update API principles. (#14243)
htuch Dec 3, 2020
73c2d57
[Windows CI] Fix issue with Slack message for flaky tests (#14252)
Dec 3, 2020
9004d7a
Fix fake_upstreams_ index for xds_upstream_ in tests (#14251)
tbarrella Dec 3, 2020
17ad085
skip parsing HttpBody field and pass query params as-is (#13679)
CurryX Dec 3, 2020
4505884
matching: initial implementation of matching API (#14038)
snowp Dec 3, 2020
d1ded6b
xdstp: flatten resource locators/names to strings. (#14241)
htuch Dec 3, 2020
7cb9a9e
buffer: Optimize memory layout for buffer slices so it is better alig…
antoniovicente Dec 4, 2020
261067e
Add ability for callbacks subscribed via addBytesSentCallback to (#14…
cpakulski Dec 4, 2020
3949bf4
stack_decode: ignore decoding errors (#14267)
Dec 4, 2020
042a85b
http perf: move data instead of copying it for large http/1 bodies (#…
ggreenway Dec 5, 2020
1d44c27
http: add functionality to configure kill header in KillRequest proto…
qqustc Dec 5, 2020
39bb9a1
test: disable flaky xds_integration_test. (#14287)
htuch Dec 6, 2020
f1387db
fix http2 flaky test (#14261)
Dec 7, 2020
9f5a1d6
access_loggers: removed redundant dep (#14274)
adisuissa Dec 7, 2020
cae8eab
typo in redis doc (#14248)
ankatare Dec 7, 2020
9e82314
dependencies: allowlist CVE-2018-21270 to prevent false positives. (#…
htuch Dec 7, 2020
e7323c3
docs: fix typo (#14237)
hbrls Dec 7, 2020
9aa5c75
wasm: use Bazel rules from Proxy-Wasm Rust SDK. (#14292)
PiotrSikora Dec 7, 2020
d382fa6
test: putting fake upstream config in a struct (#14266)
alyssawilk Dec 7, 2020
ebdcf7c
matcher: fix UB bug caused by dereferencing a bad optional (#14271)
snowp Dec 7, 2020
9093131
config: v2 transport API fatal-by-default. (#14223)
htuch Dec 7, 2020
9e2df02
[Win32 Signals] Add term and ctrl-c signal handlers (#13954)
Dec 8, 2020
7fe3a89
test: add scaled timer integration test (#14290)
akonradi Dec 8, 2020
8188e23
stats: Factor out creation of cluster-stats StatNames from creation o…
jmarantz Dec 8, 2020
5cd2d42
extension: use bool_flag to control extension link (#14240)
lizan Dec 8, 2020
fa80297
lua: update deprecated lua_open to luaL_newstate (#14297)
spacewander Dec 8, 2020
657f3c1
[conn_pool] fix use after free in H/1 connection pool (#14220)
asraa Dec 8, 2020
940958e
tracing: Add hostname to Zipkin config. (#14186) (#14187)
esmet Dec 8, 2020
3b15582
Fix TSAN bug in integration test (#14327)
akonradi Dec 8, 2020
5932dfd
event: Remove a source of non-determinism by always running deferred …
antoniovicente Dec 8, 2020
61d80ba
buffer: Use WatermarkFactory to create most WatermarkBuffer instances…
antoniovicente Dec 8, 2020
cbd2a21
repo: switch to actions based stale bot (#14335)
mattklein123 Dec 9, 2020
d3315cb
wasm: update V8 to v8.8.278.8. (#14298)
PiotrSikora Dec 9, 2020
1a9d72e
metrics service sink: generalize the sink and grpc streamer for exter…
junr03 Dec 9, 2020
9f6a28b
stale: fix config (#14337)
mattklein123 Dec 9, 2020
bed0262
event: Reduce potential for lock contention while executing dispatche…
antoniovicente Dec 9, 2020
d3c4b9f
test: TODO fixup making enable_half_close private #14330)
alyssawilk Dec 9, 2020
28ddb6e
stale: more changes (#14344)
mattklein123 Dec 9, 2020
99ac375
stale: more allowed ops (#14345)
mattklein123 Dec 9, 2020
a13b684
event: touch watchdog before execution of each post callback and befo…
antoniovicente Dec 9, 2020
f6cc741
http2: Add integration tests for PRIORITY frame flood mitigation for …
yanavlasov Dec 10, 2020
04b75b1
gRPC client to be used by ext_proc filter (#14283)
gbrail Dec 10, 2020
1253750
buffer: Optimize the layout of Slices in Buffer::OwnedImpl by removin…
antoniovicente Dec 10, 2020
ae5d9c4
format: fix Times(1) nit. (#14353)
htuch Dec 10, 2020
52b616f
tcp_proxy: logs consistently (#14368)
alyssawilk Dec 10, 2020
8a28e06
get most of the cluster stats into the new 2-phase macro system. (#14…
jmarantz Dec 10, 2020
709414b
dependencies: new external dep policy. (#14334)
htuch Dec 11, 2020
ea62aec
tcp: fixing a tls logging bug with the new TCP pool (#14364)
alyssawilk Dec 11, 2020
33b8ce7
docs: fix broken link (#14369)
kdombeck Dec 11, 2020
b928a18
docs: fix command in grpc_bridge example (#14355)
cccntu Dec 11, 2020
d1c2074
tech debt: move connection and async client APIs to thread local clus…
mattklein123 Dec 11, 2020
4249093
jwt_authn: Document that timeout is required in http_uri (#14278)
jhernand Dec 11, 2020
b0fedbe
compressor: add support for compressing request payloads (#14302)
rojkov Dec 11, 2020
6246920
overload: scale http stream idle timeout (#14155)
akonradi Dec 11, 2020
16fa8c7
stats: use 2-phase creation for circuit breaker stats; (#14371)
jmarantz Dec 11, 2020
046b0e3
sds: refactor to use shared target for init manager registration (#14…
lizan Dec 12, 2020
6a8e681
stats: Suggest new stats macros to avoid hot-path contention. (#14312)
jmarantz Dec 13, 2020
22fa767
Add regex_rewrite to redirect action (#14351)
esmet Dec 13, 2020
98e8bf3
transport socket: api and implementation for startTls transport socke…
cpakulski Dec 13, 2020
ac344a7
[http] Fix H/1 test issue in codec fuzzer (#14379)
asraa Dec 13, 2020
76bcbd7
squash: check for cluster that does not exist (#14386)
mattklein123 Dec 14, 2020
0e6047b
cluster manager: initialization cleanups (#14382)
mattklein123 Dec 14, 2020
5320182
config: stats flush via admin (#14156)
hamdiallam Dec 14, 2020
02357c6
api: define an API breaking change grace period. (#14390)
htuch Dec 14, 2020
17447f3
docs: Updated version history with stable releases. (#14306)
cpakulski Dec 14, 2020
1f22f32
benchmark: convert recent_lookups_speed_test and symbol_table_speed_t…
antoniovicente Dec 14, 2020
935a659
http: add support for skip filter match action (#14275)
snowp Dec 14, 2020
37e9414
dns cache: Replace copy-on-add/remove with lock-guarded global map (#…
Dec 14, 2020
0dd74a9
config: v2 non-pubsub transport API fatal-by-default. (#14389)
htuch Dec 15, 2020
357ed13
Undeprecate use_original_dst (#14397)
tbarrella Dec 15, 2020
43bf707
formatter: add text_format_source, relax minimum string length on tex…
esmet Dec 15, 2020
a0486d8
wasm: cleanup duplicate stats (#14409)
kyessenov Dec 15, 2020
33bd2ea
wasm: dead code (#14407)
kyessenov Dec 15, 2020
ff3ef12
config: making protocol config explicit (#14362)
alyssawilk Dec 15, 2020
7d348d1
tcp: improved unit testing (#14415)
alyssawilk Dec 15, 2020
0d89faf
Mark starttls_integration_test flaky on Windows (#14419)
Dec 15, 2020
0cb98ff
aggregate cluster: cleanups (#14411)
mattklein123 Dec 15, 2020
5dc58a6
tls: disable TLS inspector injection (#14404)
tbarrella Dec 15, 2020
ca7250d
wasm: clear route cache when modifying HTTP request headers. (#14318)
PiotrSikora Dec 15, 2020
f752cff
wasm: add mathetake to CODEOWNERS (#14427)
lizan Dec 15, 2020
f19d025
generic conn pool: directly use thread local cluster (#14423)
mattklein123 Dec 15, 2020
004296b
Moved starttls integration test to test/extensions/transport_sockets/…
cpakulski Dec 15, 2020
93ee668
http: alpn upstream (#13922)
alyssawilk Dec 15, 2020
ffbf952
stream_info: add setResponseCode and update local_reply to take a nor…
esmet Dec 16, 2020
b3bb0f9
deps: update protobuf to 3.14 (#14253)
kyessenov Dec 16, 2020
6474355
ratelimit: support returning custom response bodies for non-OK respon…
esmet Dec 16, 2020
ba656eb
formatter: add a formatter that returns a google::protobuf::Struct ra…
itamarkam Dec 16, 2020
95b7ef2
integration tests: re-enable set_node_on_first_message_only (#14270)
tbarrella Dec 16, 2020
ae1ed1f
test: start dissolving :printers_include rule. (#14429)
tkoeppe Dec 16, 2020
0e00d2d
http2: Add integration tests for METADATA and RST_STREAM frame flood …
yanavlasov Dec 16, 2020
09134ff
[http] Remove legacy codecs (#14381)
asraa Dec 16, 2020
5228a84
sds: allow multiple init managers share sds target (#14357)
lizan Dec 16, 2020
326d8d8
stats: rename TestSymbolTable to be inside Stats::TestUtil, and add h…
jmarantz Dec 16, 2020
8f83cf0
doc: extend PPROF.md with alternatives to gperftools (#14393)
rojkov Dec 16, 2020
791f66c
tracing: add API to retrieve trace id from span (#14410)
nareddyt Dec 16, 2020
8b1569a
upstream: gradually decrease outlier detector's ejection time multipl…
cpakulski Dec 16, 2020
2d838d1
tcp: improving stats consistency between old and new pool (#14424)
alyssawilk Dec 16, 2020
689565c
wasm: refactor EnvoyWasmVmIntegration (#14433)
mathetake Dec 17, 2020
d00985a
tcp: cleanup, follow-up to #14424 (#14459)
Dec 17, 2020
ad3c545
dependencies: upgrade libcurl to 7.74.0. (#14444)
htuch Dec 17, 2020
78a3ed7
Fix starttls_integration_test flakiness on Windows (#14455)
rmiller14 Dec 17, 2020
e630672
event: Extract DispatcherBase interface (#14446)
antoniovicente Dec 17, 2020
c8437ab
tcp: extending tcp integration test (#14451)
alyssawilk Dec 17, 2020
d80afd3
test: replace mock_methodn macros with mock_method (#14450)
akonradi Dec 17, 2020
f0df6f1
tcp: nodelay in the new pool (#14453)
alyssawilk Dec 17, 2020
5e6c4b9
[test] Replace printers_include with printers_lib. (#14442)
tkoeppe Dec 17, 2020
9340c2c
grpc mux: fix sending node again after stream is reset (#14080)
tbarrella Dec 17, 2020
d2e277e
coverage: ratcheting limits (#14472)
alyssawilk Dec 17, 2020
8582c29
preconnect: rename: (#14474)
alyssawilk Dec 17, 2020
2a9bb4d
deps: update cel and remove a patch (#14473)
kyessenov Dec 17, 2020
c3e4a00
listener: deprecate use_proxy_proto (#14406)
tbarrella Dec 18, 2020
65c15b4
oauth: properly stop filter chain when a response was sent (#14476)
Dec 18, 2020
239013e
api: relax inline_string length limitation in DataSource (#14461)
lizan Dec 19, 2020
867b9e2
server: wait workers to start before draining parent. (#14319)
Dec 19, 2020
ea4ff08
doc: update test/integration/README.md (#14485)
spacewander Dec 21, 2020
d7cc4aa
http: use OptRef helper to reduce some boilerplate (#14361)
snowp Dec 21, 2020
741f5fa
macos build: Fix ninja install (#14495)
sunjayBhatia Dec 21, 2020
b0331ef
owners: Change dio email address (#14498)
dio Dec 21, 2020
c5946e3
oauth2: improving coverage (#14479)
alyssawilk Dec 21, 2020
4ba2827
[filters] Prevent a filter from sending local reply and continue (#14…
asraa Dec 21, 2020
e90d674
[fuzz] add fuzz tests for hpack encoding and decoding (#13315)
asraa Dec 21, 2020
484a10d
Deflaked: Guarddog_impl_test (#14475)
KBaichoo Dec 22, 2020
62edf3e
[Windows] Improve fileReadToEnd on Windows (#14447)
Dec 22, 2020
b4ca626
wasm: basic stats (#14426)
kyessenov Dec 23, 2020
924a5f6
ci: fix osx build (#14515)
mattklein123 Dec 23, 2020
483dd30
Fix the link printed during an assertion to match the doc it points t…
jmarantz Dec 23, 2020
0414dfe
expr: generalize Wasm state to native filters (#14384)
kyessenov Dec 28, 2020
ee0d9a8
buffer: Plumb watermark buffer factory from the test framework to the…
antoniovicente Dec 28, 2020
65910e4
test: skip part of CompositeFormatterSuccess in OSX (#14494)
Dec 28, 2020
5d8a83d
docker: chown ENVOY_DOCKER_BUILD_DIR (#14511)
lambdai Dec 28, 2020
e022a51
test: fix http2_upstream_integration_test flakiness on Windows (#14497)
rmiller14 Dec 28, 2020
e6700e5
decompressor: Set window_bits default to 15 (#14194)
bharath-123 Dec 29, 2020
db57a82
remove memory allocation in WatcherImpl for Windows (#14408)
rmiller14 Dec 29, 2020
540507e
Symbolize routher's VirtualCluster StatNames in Router::ContextImpl. …
jmarantz Dec 29, 2020
804666c
event: ASSERT that operations on file events and timers are only perf…
antoniovicente Dec 29, 2020
7e3b483
test: Add coverage on checking IP version when the local address is n…
dio Dec 29, 2020
ad93583
docs: fix typo in xDS docs (#14541)
nak3 Dec 31, 2020
bf93e97
Revert "upstream: avoid reset after end_stream in TCP HTTP upstream (…
snowp Jan 2, 2021
7ceef8f
outlier detector: verify config after it has been initialized (#14540)
cpakulski Jan 2, 2021
606fc2f
update network coverage and fix one simple coverage improvement. (#14…
jmarantz Jan 3, 2021
e80b8ee
http: add support for skipping any port from host header (#14491)
ramaraochavali Jan 4, 2021
0c9e7bf
[gzip]: allow gzip to work w/ http2 backend w/o content-length (#14405)
tehnerd Jan 4, 2021
3bc7367
stats: Symbolize zone_name on initialization (#14549)
jmarantz Jan 4, 2021
172a39b
build: bump bazel 3.7.2 in envoy build tree (#14134)
wrowe Jan 4, 2021
7fa6aa5
build: update grpc to 1.34.0 (#14147)
asraa Jan 5, 2021
f0117e5
jwt_authn: make "issuer" field in JwtProvider as optional (#14414)
qiwzhang Jan 5, 2021
937f013
test: init manager coverage (#14563)
alyssawilk Jan 5, 2021
8424857
stats: Add API Scope::scopeFromStatName and use it to skip some symbo…
jmarantz Jan 6, 2021
b561a52
fuzz: Remove leading dots from symbolic stat-names in fuzz tests. (#1…
jmarantz Jan 6, 2021
3d3b42e
Revert "[gzip]: allow gzip to work w/ http2 backend w/o content-lengt…
Jan 6, 2021
1087eaa
Generalize the gRPC access logger base classes (#14469)
itamarkam Jan 6, 2021
d9f5edd
feat(lua): allow setting response body when the upstream response bod…
spacewander Jan 6, 2021
1bf77f3
formatter: add custom date formatting to downstream cert start and en…
esmet Jan 6, 2021
568e6d6
ssl: remember stat names for configured ciphers. (#14534)
jmarantz Jan 6, 2021
ff3939c
Network::Connection: Add L4 crash dumping support (#14509)
KBaichoo Jan 6, 2021
d0d926f
dependencies: update cve_scan.py for some libcurl 7.74.0 false positi…
htuch Jan 6, 2021
4cb14ea
deps: update PGV (#14571)
howardjohn Jan 6, 2021
fae2adb
Fix data race in overload integration test (#14586)
akonradi Jan 7, 2021
28e8d77
listener: undeprecate bind_to_port (#14480)
tbarrella Jan 7, 2021
40c44e5
Add utility to check whether the execution is in main thread. (#14457)
chaoqin-li1123 Jan 7, 2021
03cfad6
[deps] update upb to latest commit (#14582)
asraa Jan 7, 2021
659f2ea
stream info: cleanup address handling (#14432)
mattklein123 Jan 7, 2021
395ca99
tcp_proxy: wait for CONNECT response before start streaming data (#14…
irozzo-1A Jan 7, 2021
89ae3fe
ratelimit: add dynamic metadata to ratelimit response (#14508)
esmet Jan 7, 2021
95d631c
buffer impl: add cast for android compilation (#14589)
Jan 7, 2021
6c1df4a
configuration impl: add cast for ios compilation (#14590)
Jan 7, 2021
e073b32
upstream: clean up code location (#14580)
alyssawilk Jan 7, 2021
877d8e1
opencensus: deprecate Zipkin configuration. (#14576)
htuch Jan 7, 2021
846f27c
fix new/free mismatch in Mainthread utility (#14596)
chaoqin-li1123 Jan 8, 2021
4302eb1
Resolve 14506, avoid libidn2 for our curl dependency (#14601)
wrowe Jan 8, 2021
6338dcb
Bump envoy-build to current images (#14608)
wrowe Jan 8, 2021
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .azure-pipelines/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ steps:
- bash: |
echo "disk space at end of build:"
df -h
# Cleanup offending files with unicode names
rm -rf $(Build.StagingDirectory)/tmp/*/*/external/go_sdk/test/fixedbugs
displayName: "Check disk space at end"
condition: always()

Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

# Temporary script to remove tools from Azure pipelines agent to create more disk space room.
sudo apt-get update -y
sudo apt-get update -y || true
sudo apt-get purge -y --no-upgrade 'ghc-*' 'zulu-*-azure-jdk' 'libllvm*' 'mysql-*' 'dotnet-*' 'libgl1' \
'adoptopenjdk-*' 'azure-cli' 'google-chrome-stable' 'firefox' 'hhvm'

Expand Down
22 changes: 22 additions & 0 deletions .azure-pipelines/cve_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Pipeline for running Envoy's CVE scanner on an hourly basis.

# This pipeline only uses scheduled triggers.
trigger: none
pr: none

schedules:
- cron: "0 * * * *"
displayName: Hourly CVE scan
branches:
include:
- master
always: true

pool:
vmImage: "ubuntu-18.04"
steps:
- script: ci/run_envoy_docker.sh 'ci/do_ci.sh cve_scan'
workingDirectory: $(Build.SourcesDirectory)
env:
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
displayName: "Scan for CVEs in dependencies"
111 changes: 77 additions & 34 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ stages:

- job: docs
dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel.
condition: ne(variables['PostSubmit'], true)
pool:
vmImage: "ubuntu-18.04"
steps:
Expand All @@ -59,37 +60,31 @@ stages:
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
displayName: "Generate docs"

- script: ci/run_envoy_docker.sh 'ci/upload_gcs_artifact.sh /source/generated/docs docs'
- script: |
ci/run_envoy_docker.sh 'ci/upload_gcs_artifact.sh /source/generated/docs docs'
displayName: "Upload Docs to GCS"
env:
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
GCS_ARTIFACT_BUCKET: $(GcsArtifactBucket)

- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: "$(Build.SourcesDirectory)/generated/docs"
artifactName: docs
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))

- task: InstallSSHKey@0
inputs:
hostName: "github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=="
sshPublicKey: "$(DocsPublicKey)"
sshPassphrase: "$(SshDeployKeyPassphrase)"
sshKeySecureFile: "$(DocsPrivateKey)"
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), eq(variables['PostSubmit'], true))

- script: docs/publish.sh
displayName: "Publish to GitHub"
- job: dependencies
dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel.
pool:
vmImage: "ubuntu-18.04"
steps:
- script: ci/run_envoy_docker.sh 'ci/do_ci.sh deps'
workingDirectory: $(Build.SourcesDirectory)
env:
AZP_BRANCH: $(Build.SourceBranch)
AZP_SHA1: $(Build.SourceVersion)
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), eq(variables['PostSubmit'], true))
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
GITHUB_TOKEN: $(GitHubPublicRepoOnlyAccessToken)
displayName: "Verify dependency information"

- stage: sync
condition: and(succeeded(), eq(variables['PostSubmit'], true))
condition: and(succeeded(), eq(variables['PostSubmit'], true), ne(variables['NoSync'], true))
dependsOn: []
jobs:
- job: filter_example
Expand Down Expand Up @@ -130,6 +125,8 @@ stages:

- job: go_control_plane
dependsOn: []
pool:
vmImage: "ubuntu-18.04"
steps:
- task: InstallSSHKey@0
inputs:
Expand All @@ -152,12 +149,11 @@ stages:

- stage: linux_x64
dependsOn: ["precheck"]
# For master builds, continue even if precheck fails
condition: and(not(canceled()), or(succeeded(), ne(variables['Build.Reason'], 'PullRequest')))
# For post-submit builds, continue even if precheck fails
condition: and(not(canceled()), or(succeeded(), eq(variables['PostSubmit'], true)))
jobs:
- job: release
# For master builds, continue even if format fails
timeoutInMinutes: 360
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-18.04"
steps:
Expand All @@ -167,11 +163,11 @@ stages:

- stage: linux_arm64
dependsOn: ["precheck"]
# For master builds, continue even if precheck fails
condition: and(not(canceled()), or(succeeded(), ne(variables['Build.Reason'], 'PullRequest')))
# For post-submit builds, continue even if precheck fails
condition: and(not(canceled()), or(succeeded(), eq(variables['PostSubmit'], true)))
jobs:
- job: release
timeoutInMinutes: 360
timeoutInMinutes: 120
pool: "arm-large"
steps:
- template: bazel.yml
Expand Down Expand Up @@ -203,7 +199,7 @@ stages:
CI_TARGET: "bazel.tsan"
compile_time_options:
CI_TARGET: "bazel.compile_time_options"
timeoutInMinutes: 360
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-18.04"
steps:
Expand All @@ -214,7 +210,7 @@ stages:
- job: coverage
displayName: "linux_x64"
dependsOn: []
timeoutInMinutes: 360
timeoutInMinutes: 120
pool: "x64-large"
strategy:
maxParallel: 2
Expand Down Expand Up @@ -290,6 +286,43 @@ stages:
artifactName: docker
condition: always()

- stage: docs
dependsOn: ["docker"]
condition: and(succeeded(), eq(variables['PostSubmit'], true), ne(variables['NoSync'], true))
jobs:
- job: publish
pool:
vmImage: "ubuntu-18.04"
steps:
- task: Cache@2
inputs:
key: "docs | ./WORKSPACE | **/*.bzl"
path: $(Build.StagingDirectory)/repository_cache
continueOnError: true

- script: ci/run_envoy_docker.sh 'ci/do_ci.sh docs'
workingDirectory: $(Build.SourcesDirectory)
env:
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
displayName: "Generate docs"

- task: InstallSSHKey@0
inputs:
hostName: "github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=="
sshPublicKey: "$(DocsPublicKey)"
sshPassphrase: "$(SshDeployKeyPassphrase)"
sshKeySecureFile: "$(DocsPrivateKey)"

- script: docs/publish.sh
displayName: "Publish to GitHub"
workingDirectory: $(Build.SourcesDirectory)
env:
AZP_BRANCH: $(Build.SourceBranch)
AZP_SHA1: $(Build.SourceVersion)

- stage: verify
dependsOn: ["docker"]
jobs:
Expand All @@ -313,7 +346,7 @@ stages:
dependsOn: ["precheck"]
jobs:
- job: test
timeoutInMinutes: 360
timeoutInMinutes: 180
pool:
vmImage: "macos-latest"
steps:
Expand Down Expand Up @@ -347,19 +380,29 @@ stages:
dependsOn: ["precheck"]
jobs:
- job: release
timeoutInMinutes: 360
timeoutInMinutes: 120
pool:
vmImage: "windows-latest"
steps:
- bash: ci/run_envoy_docker.sh ci/windows_ci_steps.sh
displayName: "Run Windows CI"
env:
CI_TARGET: "windows"
ENVOY_DOCKER_BUILD_DIR: "$(Build.StagingDirectory)"
SLACK_TOKEN: $(SLACK_TOKEN)
REPO_URI: $(Build.Repository.Uri)
BUILD_URI: $(Build.BuildUri)
ENVOY_RBE: "true"
BAZEL_BUILD_EXTRA_OPTIONS: "--config=remote-ci --config=remote-msvc-cl --jobs=$(RbeJobs)"
BAZEL_BUILD_EXTRA_OPTIONS: "--config=remote-ci --config=remote-msvc-cl --jobs=$(RbeJobs) --flaky_test_attempts=2"
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey)
- task: PublishTestResults@2
inputs:
testResultsFiles: "**/bazel-out/**/testlogs/**/test.xml"
testRunTitle: "windows"
searchFolder: $(Build.StagingDirectory)/tmp
condition: always()
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: "$(Build.StagingDirectory)/envoy"
Expand All @@ -368,7 +411,7 @@ stages:

- job: docker
dependsOn: ["release"]
timeoutInMinutes: 360
timeoutInMinutes: 120
pool:
vmImage: "windows-latest"
steps:
Expand Down
12 changes: 12 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tasks:
test_flags:
- "--config=remote-clang-libc++"
- "--config=remote-ci"
- "--define=wasm=disabled"
- "--jobs=75"
coverage:
name: "Coverage"
Expand All @@ -23,3 +24,14 @@ tasks:
test_flags:
- "--config=coverage"
- "--config=clang"
fuzz_coverage:
name: "Fuzz-Coverage"
platform: ubuntu1804
shell_commands:
- "bazel/setup_clang.sh /usr/lib/llvm-10"
test_targets:
- "//test/server:server_fuzz_test"
test_flags:
- "--config=fuzz-coverage"
- "--config=coverage"
- "--config=clang"
50 changes: 35 additions & 15 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ 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
build:asan --test_env=UBSAN_OPTIONS=halt_on_error=true:print_stacktrace=1
build:asan --test_env=ASAN_SYMBOLIZER_PATH
# ASAN needs -O1 to get reasonable performance.
build:asan --copt -O1
build:asan --copt -fno-optimize-sibling-calls

# Clang ASAN/UBSAN
build:clang-asan --config=asan
Expand Down Expand Up @@ -141,9 +144,9 @@ build:coverage --experimental_use_llvm_covmap
build:coverage --collect_code_coverage
build:coverage --test_tag_filters=-nocoverage
build:coverage --instrumentation_filter="//source(?!/common/chromium_url|/extensions/quic_listeners/quiche/platform)[/:],//include[/:]"
coverage:test-coverage --test_arg="-l trace"
coverage:fuzz-coverage --config=plain-fuzzer
coverage:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh
build:test-coverage --test_arg="-l trace"
build:fuzz-coverage --config=plain-fuzzer
build:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh

# Remote execution: https://docs.bazel.build/versions/master/remote-execution.html
build:rbe-toolchain --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
Expand All @@ -165,6 +168,16 @@ build:rbe-toolchain-clang-libc++ --action_env=CXXFLAGS=-stdlib=libc++
build:rbe-toolchain-clang-libc++ --action_env=LDFLAGS=-stdlib=libc++
build:rbe-toolchain-clang-libc++ --define force_libcpp=enabled

# Do not inherit from "clang-asan" to avoid picking up flags from local clang.bazelrc.
build:rbe-toolchain-asan --config=asan
build:rbe-toolchain-asan --linkopt -fuse-ld=lld
build:rbe-toolchain-asan --action_env=ENVOY_UBSAN_VPTR=1
build:rbe-toolchain-asan --copt=-fsanitize=vptr,function
build:rbe-toolchain-asan --linkopt=-fsanitize=vptr,function
build:rbe-toolchain-asan --linkopt=-L/opt/llvm/lib/clang/10.0.0/lib/linux
build:rbe-toolchain-asan --linkopt=-l:libclang_rt.ubsan_standalone-x86_64.a
build:rbe-toolchain-asan --linkopt=-l:libclang_rt.ubsan_standalone_cxx-x86_64.a

build:rbe-toolchain-msan --linkopt=-L/opt/libcxx_msan/lib
build:rbe-toolchain-msan --linkopt=-Wl,-rpath,/opt/libcxx_msan/lib
build:rbe-toolchain-msan --config=clang-msan
Expand Down Expand Up @@ -215,6 +228,10 @@ build:remote-clang-libc++ --config=rbe-toolchain-clang-libc++
build:remote-gcc --config=remote
build:remote-gcc --config=rbe-toolchain-gcc

build:remote-asan --config=remote
build:remote-asan --config=rbe-toolchain-clang-libc++
build:remote-asan --config=rbe-toolchain-asan

build:remote-msan --config=remote
build:remote-msan --config=rbe-toolchain-clang-libc++
build:remote-msan --config=rbe-toolchain-msan
Expand All @@ -229,7 +246,7 @@ build:remote-clang-cl --config=rbe-toolchain-clang-cl

# Docker sandbox
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/master/toolchains/rbe_toolchains_config.bzl#L8
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:b480535e8423b5fd7c102fd30c92f4785519e33a
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:11efa5680d987fff33fde4af3cc5ece105015d04
build:docker-sandbox --spawn_strategy=docker
build:docker-sandbox --strategy=Javac=docker
build:docker-sandbox --strategy=Closure=docker
Expand Down Expand Up @@ -260,22 +277,18 @@ build:remote-ci --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:remote-ci --remote_executor=grpcs://remotebuildexecution.googleapis.com

# Fuzz builds
# -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is passed in in the bazel build target
# rules for fuzz tests. Passing it in the CLI will cause dependencies to be build
# with the macro. Causing issues in RouteMatcherTest.TestRoutes that expect prod
# behavior from RE2 library.
build:asan-fuzzer --config=asan
build:asan-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:asan-fuzzer --copt=-fsanitize=fuzzer-no-link
build:asan-fuzzer --copt=-fno-omit-frame-pointer
# Remove UBSAN halt_on_error to avoid crashing on protobuf errors.
build:asan-fuzzer --test_env=UBSAN_OPTIONS=print_stacktrace=1

# Fuzzing without ASAN. This is useful for profiling fuzzers without any ASAN artifacts.
build:plain-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:plain-fuzzer --define ENVOY_CONFIG_ASAN=1
build:plain-fuzzer --copt=-fsanitize=fuzzer-no-link
build:plain-fuzzer --linkopt=-fsanitize=fuzzer-no-link
build:plain-fuzzer --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION

build:asan-fuzzer --config=plain-fuzzer
build:asan-fuzzer --config=asan
build:asan-fuzzer --copt=-fno-omit-frame-pointer
# Remove UBSAN halt_on_error to avoid crashing on protobuf errors.
build:asan-fuzzer --test_env=UBSAN_OPTIONS=print_stacktrace=1

# Compile database generation config
build:compdb --build_tag_filters=-nocompdb
Expand All @@ -285,6 +298,7 @@ build:windows --action_env=TMPDIR
build:windows --define signal_trace=disabled
build:windows --define hot_restart=disabled
build:windows --define tcmalloc=disabled
build:windows --define wasm=disabled
build:windows --define manual_stamp=manual_stamp
build:windows --cxxopt="/std:c++17"

Expand All @@ -309,6 +323,12 @@ build:clang-cl --define clang_cl=1
# Override determinism flags (DATE etc) is valid on clang-cl compiler
build:clang-cl --copt="-Wno-macro-redefined"
build:clang-cl --copt="-Wno-builtin-macro-redefined"
# Workaround problematic missing override declarations of mocks
# TODO: resolve this class of problematic mocks, e.g.
# ./test/mocks/http/stream.h(16,21): error: 'addCallbacks'
# overrides a member function but is not marked 'override'
# MOCK_METHOD(void, addCallbacks, (StreamCallbacks & callbacks));
build:clang-cl --copt="-Wno-inconsistent-missing-override"
build:clang-cl --action_env=USE_CLANG_CL=1

# Defaults to 'auto' - Off for windows, so override to linux behavior
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.1
3.7.2
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/envoy-ci/envoy-build:b480535e8423b5fd7c102fd30c92f4785519e33a
FROM gcr.io/envoy-ci/envoy-build:11efa5680d987fff33fde4af3cc5ece105015d04

ARG USERNAME=vscode
ARG USER_UID=501
Expand Down
Loading