-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ASCII-1498] add dependency list test for the serverless binary #24770
[ASCII-1498] add dependency list test for the serverless binary #24770
Conversation
83be9f9
to
80f0e7f
Compare
[Fast Unit Tests Report] On pipeline 34883460 (CI Visibility). The following jobs did not run any unit tests: Jobs:
If you modified Go files and expected unit tests to run in these jobs, please double check the job logs. If you think tests should have been executed reach out to #agent-developer-experience |
Test changes on VMUse this command from test-infra-definitions to manually test this PR changes on a VM: inv create-vm --pipeline-id=34883460 --os-family=ubuntu |
Regression DetectorRegression Detector ResultsRun ID: 7565a67f-a84f-48d8-9b11-f1e67152c31c Performance changes are noted in the perf column of each table:
No significant changes in experiment optimization goalsConfidence level: 90.00% There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.
|
perf | experiment | goal | Δ mean % | Δ mean % CI |
---|---|---|---|---|
➖ | file_tree | memory utilization | +0.37 | [+0.27, +0.46] |
➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +0.10 | [-2.77, +2.96] |
➖ | trace_agent_json | ingress throughput | +0.01 | [-0.01, +0.04] |
➖ | tcp_dd_logs_filter_exclude | ingress throughput | +0.01 | [-0.03, +0.04] |
➖ | uds_dogstatsd_to_api | ingress throughput | -0.01 | [-0.21, +0.19] |
➖ | trace_agent_msgpack | ingress throughput | -0.02 | [-0.03, +0.00] |
➖ | otel_to_otel_logs | ingress throughput | -0.06 | [-0.44, +0.31] |
➖ | idle | memory utilization | -0.36 | [-0.39, -0.32] |
➖ | pycheck_1000_100byte_tags | % cpu utilization | -0.43 | [-5.10, +4.24] |
➖ | basic_py_check | % cpu utilization | -0.50 | [-2.92, +1.92] |
➖ | tcp_syslog_to_blackhole | ingress throughput | -8.13 | [-28.12, +11.86] |
Explanation
A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".
For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:
-
Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.
-
Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.
-
Its configuration does not mark it "erratic".
289b74b
to
452fcd0
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #24770 +/- ##
===========================================
- Coverage 45.03% 4.56% -40.48%
===========================================
Files 2314 1 -2313
Lines 266535 241 -266294
===========================================
- Hits 120036 11 -120025
+ Misses 136952 229 -136723
+ Partials 9547 1 -9546
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
60f3182
to
6374613
Compare
6374613
to
a56269c
Compare
/merge |
🚂 MergeQueue This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals. Use |
🚂 MergeQueue Pull request added to the queue. There are 3 builds ahead! (estimated merge in less than 2h) Use |
❌ MergeQueue Build pipeline has failing jobs for c9f6c2d Since those jobs are not marked as being allowed to fail, the pipeline will most likely fail. You should have a look at the pipeline, wait for the build to finish and investigate the failures.
|
a56269c
to
b5f7907
Compare
Serverless Benchmark Results
tl;drUse these benchmarks as an insight tool during development.
What is this benchmarking?The The benchmark is run using a large variety of lambda request payloads. In the charts below, there is one row for each event payload type. How do I interpret these charts?The charts below comes from The benchstat docs explain how to interpret these charts.
I need more helpFirst off, do not worry if the benchmarks are failing. They are not tests. The intention is for them to be a tool for you to use during development. If you would like a hand interpreting the results come chat with us in Benchmark stats
|
/merge |
🚂 MergeQueue Pull request added to the queue. This build is going to start soon! (estimated merge in less than 28m) Use |
What does this PR do?
This PR modify the
pkg/serverless/binarysize/binary_size_test.go
test for the serverless binary to use a include list rather than a block list to check for the dependencies that are part of the serverless binary.As part of the work we are doing this quarter we are going to focus on reducing the number of dependencies the serveless binary gets ship with 😄
The test aims to add friction to developers when they add new dependencies to the serverless binary, but not block them. They can update the list and the test would be green.
Having the commit log, would make easier the investigation of why certain dependency were added or remove into the serverless binary.
When a new dependency is added or remove the test fails. The error messages explains what the developer should do:
Motivation
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes