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

coverage: ratcheting #37522

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions test/per_file_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
)

Expand Down