From be1d2dc40714f7e8de0798bae8f6710c71d5adda Mon Sep 17 00:00:00 2001 From: alyssawilk Date: Thu, 5 Dec 2024 22:17:28 -0500 Subject: [PATCH] coverage: ratcheting (#37522) Signed-off-by: Alyssa Wilk --- test/per_file_coverage.sh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/test/per_file_coverage.sh b/test/per_file_coverage.sh index d96a22a158f3..71ffc2ffccb5 100755 --- a/test/per_file_coverage.sh +++ b/test/per_file_coverage.sh @@ -5,35 +5,33 @@ declare -a KNOWN_LOW_COVERAGE=( "source/common:96.4" "source/common/common/posix:96.2" # flaky due to posix: be careful adjusting -"source/common/config:96.3" +"source/common/config:96.4" "source/common/crypto:95.5" "source/common/event:95.6" # Emulated edge events guards don't report LCOV "source/common/filesystem/posix:96.3" # FileReadToEndNotReadable fails in some env; createPath can't test all failure branches. -"source/common/http/http2:95.9" +"source/common/http/http2:96.1" "source/common/json:95.2" "source/common/matcher:94.7" "source/common/memory:74.5" # tcmalloc code path is not enabled in coverage build, only gperf tcmalloc, see PR#32589 "source/common/network:94.4" # Flaky, `activateFileEvents`, `startSecureTransport` and `ioctl`, listener_socket do not always report LCOV "source/common/network/dns_resolver:91.4" # A few lines of MacOS code not tested in linux scripts. Tested in MacOS scripts -"source/common/quic:93.3" -"source/common/secret:95.4" +"source/common/quic:93.4" "source/common/signal:87.2" # Death tests don't report LCOV "source/common/thread:0.0" # Death tests don't report LCOV -"source/common/tls:95.3" -"source/common/tls/cert_validator:94.4" +"source/common/tls:95.5" +"source/common/tls/cert_validator:94.7" "source/common/tls/private_key:88.9" "source/common/watchdog:58.6" # Death tests don't report LCOV "source/exe:94.2" # increased by #32346, need coverage for terminate_handler and hot restart failures -"source/extensions/common:96.5" "source/extensions/common/proxy_protocol:93.8" # Adjusted for security patch "source/extensions/common/tap:94.6" -"source/extensions/common/wasm:95.0" # flaky: be careful adjusting +"source/extensions/common/wasm:95.3" # flaky: be careful adjusting "source/extensions/common/wasm/ext:92.0" "source/extensions/filters/common/fault:94.5" -"source/extensions/filters/common/rbac:90.8" +"source/extensions/filters/common/rbac:92.6" "source/extensions/filters/http/cache:95.9" "source/extensions/filters/http/grpc_json_transcoder:94.0" # TODO(#28232) -"source/extensions/filters/http/ip_tagging:88.2" +"source/extensions/filters/http/ip_tagging:90.6" "source/extensions/filters/http/kill_request:91.7" # Death tests don't report LCOV "source/extensions/filters/listener/original_src:92.1" "source/extensions/filters/network/mongo_proxy:96.1" @@ -50,11 +48,11 @@ declare -a KNOWN_LOW_COVERAGE=( "source/extensions/listener_managers/validation_listener_manager:77.3" "source/extensions/watchdog/profile_action:83.3" "source/server:91.0" # flaky: be careful adjusting. See https://github.com/envoyproxy/envoy/issues/15239 -"source/server/config_validation:91.8" +"source/server/config_validation:92.3" "source/extensions/health_checkers:96.1" "source/extensions/health_checkers/http:93.9" "source/extensions/health_checkers/grpc:92.1" -"source/extensions/config_subscription/rest:94.7" +"source/extensions/config_subscription/rest:94.8" "source/extensions/matching/input_matchers/cel_matcher:91.3" #Death tests don't report LCOV )