datadog-agent
datadog-agent copied to clipboard
[AGENTRUN-337] Add e2e tests for networkv2 check
What does this PR do?
Motivation
Describe how you validated your changes
Possible Drawbacks / Trade-offs
Additional Notes
Regression Detector
Regression Detector Results
Metrics dashboard
Target profiles
Run ID: eced739e-1314-4e4e-8b17-9c746e61bf8e
Baseline: d1b83e8789893bd73377635cd1bfe181decc0f4c Comparison: 1cf1a087312eb30da1821c3d7764560e3f97d220 Diff
Optimization Goals: ✅ No significant changes detected
Fine details of change detection per experiment
| perf | experiment | goal | Δ mean % | Δ mean % CI | trials | links |
|---|---|---|---|---|---|---|
| ➖ | otlp_ingest_metrics | memory utilization | +0.77 | [+0.64, +0.91] | 1 | Logs |
| ➖ | file_tree | memory utilization | +0.64 | [+0.49, +0.78] | 1 | Logs |
| ➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +0.55 | [-0.29, +1.40] | 1 | Logs |
| ➖ | docker_containers_memory | memory utilization | +0.47 | [+0.40, +0.54] | 1 | Logs |
| ➖ | uds_dogstatsd_20mb_12k_contexts_20_senders | memory utilization | +0.36 | [+0.32, +0.40] | 1 | Logs |
| ➖ | ddot_metrics | memory utilization | +0.18 | [+0.06, +0.30] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency_http2 | egress throughput | +0.07 | [-0.50, +0.64] | 1 | Logs |
| ➖ | file_to_blackhole_500ms_latency | egress throughput | +0.05 | [-0.61, +0.71] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency_http1 | egress throughput | +0.05 | [-0.53, +0.63] | 1 | Logs |
| ➖ | file_to_blackhole_1000ms_latency_linear_load | egress throughput | +0.04 | [-0.19, +0.28] | 1 | Logs |
| ➖ | uds_dogstatsd_to_api | ingress throughput | -0.00 | [-0.28, +0.27] | 1 | Logs |
| ➖ | tcp_dd_logs_filter_exclude | ingress throughput | -0.01 | [-0.03, +0.02] | 1 | Logs |
| ➖ | file_to_blackhole_1000ms_latency | egress throughput | -0.01 | [-0.61, +0.58] | 1 | Logs |
| ➖ | file_to_blackhole_300ms_latency | egress throughput | -0.02 | [-0.62, +0.59] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency | egress throughput | -0.06 | [-0.63, +0.50] | 1 | Logs |
| ➖ | file_to_blackhole_100ms_latency | egress throughput | -0.08 | [-0.71, +0.55] | 1 | Logs |
| ➖ | ddot_logs | memory utilization | -0.08 | [-0.18, +0.01] | 1 | Logs |
| ➖ | quality_gate_idle_all_features | memory utilization | -0.08 | [-0.16, -0.00] | 1 | Logs bounds checks dashboard |
| ➖ | otlp_ingest_logs | memory utilization | -0.36 | [-0.48, -0.23] | 1 | Logs |
| ➖ | quality_gate_idle | memory utilization | -0.37 | [-0.45, -0.29] | 1 | Logs bounds checks dashboard |
| ➖ | tcp_syslog_to_blackhole | ingress throughput | -0.72 | [-0.78, -0.65] | 1 | Logs |
| ➖ | quality_gate_logs | % cpu utilization | -1.09 | [-3.86, +1.67] | 1 | Logs bounds checks dashboard |
| ➖ | docker_containers_cpu | % cpu utilization | -1.87 | [-4.93, +1.19] | 1 | Logs |
Bounds Checks: ❌ Failed
| perf | experiment | bounds_check_name | replicates_passed | links |
|---|---|---|---|---|
| ❌ | docker_containers_cpu | simple_check_run | 0/10 | |
| ❌ | docker_containers_memory | simple_check_run | 0/10 | |
| ✅ | docker_containers_memory | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http1 | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http1 | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http2 | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http2 | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_1000ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_1000ms_latency_linear_load | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_100ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_100ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_300ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_300ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_500ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_500ms_latency | memory_usage | 10/10 | |
| ✅ | quality_gate_idle | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle | memory_usage | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle_all_features | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle_all_features | memory_usage | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | lost_bytes | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | memory_usage | 10/10 | bounds checks dashboard |
Explanation
Confidence level: 90.00% Effect size tolerance: |Δ mean %| ≥ 5.00%
Performance changes are noted in the perf column of each table:
- ✅ = significantly better comparison variant performance
- ❌ = significantly worse comparison variant performance
- ➖ = no significant change in performance
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".
CI Pass/Fail Decision
✅ Passed. All Quality Gates passed.
- quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.
- quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
- quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
- quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
- quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
- quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
- quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
Static quality checks
✅ Please find below the results from static quality gates Comparison made with ancestor d1b83e8789893bd73377635cd1bfe181decc0f4c
Successful checks
Info
| Quality gate | Delta | On disk size (MiB) | Delta | On wire size (MiB) | |
|---|---|---|---|---|---|
| ✅ | agent_deb_amd64 | $${+0.01}$$ | $${699.31}$$ < $${700.55}$$ | $${+0.05}$$ | $${176.72}$$ < $${177.62}$$ |
| ✅ | agent_deb_amd64_fips | $${+0}$$ | $${697.58}$$ < $${699.75}$$ | $${-0.02}$$ | $${176.1}$$ < $${177.04}$$ |
| ✅ | agent_heroku_amd64 | $${0}$$ | $${352.11}$$ < $${362.84}$$ | $${+0}$$ | $${95.2}$$ < $${98.91}$$ |
| ✅ | agent_msi | $${0}$$ | $${973.82}$$ < $${974.5}$$ | $${-0.01}$$ | $${147.25}$$ < $${148.11}$$ |
| ✅ | agent_rpm_amd64 | $${+0.01}$$ | $${699.3}$$ < $${700.53}$$ | $${-0.01}$$ | $${178.31}$$ < $${179.2}$$ |
| ✅ | agent_rpm_amd64_fips | $${+0}$$ | $${697.56}$$ < $${699.74}$$ | $${+0.04}$$ | $${177.98}$$ < $${178.75}$$ |
| ✅ | agent_rpm_arm64 | $${+0}$$ | $${689.19}$$ < $${690.5}$$ | $${-0.01}$$ | $${161.69}$$ < $${162.56}$$ |
| ✅ | agent_rpm_arm64_fips | $${+0}$$ | $${687.58}$$ < $${689.8}$$ | $${-0.02}$$ | $${160.78}$$ < $${161.61}$$ |
| ✅ | agent_suse_amd64 | $${+0.01}$$ | $${699.3}$$ < $${700.54}$$ | $${-0.01}$$ | $${178.31}$$ < $${179.2}$$ |
| ✅ | agent_suse_amd64_fips | $${+0}$$ | $${697.56}$$ < $${699.74}$$ | $${+0.04}$$ | $${177.98}$$ < $${178.93}$$ |
| ✅ | agent_suse_arm64 | $${+0}$$ | $${689.19}$$ < $${690.43}$$ | $${-0.01}$$ | $${161.69}$$ < $${162.57}$$ |
| ✅ | agent_suse_arm64_fips | $${+0}$$ | $${687.58}$$ < $${689.78}$$ | $${-0.02}$$ | $${160.78}$$ < $${161.61}$$ |
| ✅ | docker_agent_amd64 | $${+0.01}$$ | $${783.1}$$ < $${784.33}$$ | $${-0.01}$$ | $${269.74}$$ < $${270.56}$$ |
| ✅ | docker_agent_arm64 | $${+0}$$ | $${796.44}$$ < $${797.68}$$ | $${+0}$$ | $${257.08}$$ < $${257.84}$$ |
| ✅ | docker_agent_jmx_amd64 | $${+0.01}$$ | $${974.3}$$ < $${975.52}$$ | $${+0}$$ | $${338.7}$$ < $${339.53}$$ |
| ✅ | docker_agent_jmx_arm64 | $${+0}$$ | $${976.24}$$ < $${977.47}$$ | $${+0.01}$$ | $${322.0}$$ < $${322.81}$$ |
| ✅ | docker_agent_windows1809 | $${+0.22}$$ | $${1184.97}$$ < $${1190.0}$$ | $${+0.29}$$ | $${417.63}$$ < $${422.66}$$ |
| ✅ | docker_agent_windows1809_core | $${-0}$$ | $${5914.92}$$ < $${5919.41}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows1809_core_jmx | $${+22.32}$$ | $${6058.82}$$ < $${6063.56}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows1809_jmx | $${+0.07}$$ | $${1306.6}$$ < $${1311.1}$$ | $${-0.02}$$ | $${459.81}$$ < $${464.35}$$ |
| ✅ | docker_agent_windows2022 | $${+0.15}$$ | $${1204.31}$$ < $${1208.75}$$ | $${-0.03}$$ | $${430.28}$$ < $${434.91}$$ |
| ✅ | docker_agent_windows2022_core | $${-0.22}$$ | $${5888.05}$$ < $${5892.66}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows2022_core_jmx | $${-0.22}$$ | $${6009.63}$$ < $${6014.08}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows2022_jmx | $${-0.18}$$ | $${1325.65}$$ < $${1330.39}$$ | $${+0.06}$$ | $${472.63}$$ < $${477.17}$$ |
| ✅ | docker_cluster_agent_amd64 | $${+0}$$ | $${213.74}$$ < $${214.5}$$ | $${+0}$$ | $${72.63}$$ < $${73.51}$$ |
| ✅ | docker_cluster_agent_arm64 | $${+0}$$ | $${229.56}$$ < $${230.33}$$ | $${-0}$$ | $${68.88}$$ < $${69.77}$$ |
| ✅ | docker_cws_instrumentation_amd64 | $${0}$$ | $${7.08}$$ < $${7.12}$$ | $${-0}$$ | $${2.95}$$ < $${3.29}$$ |
| ✅ | docker_cws_instrumentation_arm64 | $${+0}$$ | $${6.69}$$ < $${6.92}$$ | $${+0}$$ | $${2.7}$$ < $${3.07}$$ |
| ✅ | docker_dogstatsd_amd64 | $${0}$$ | $${39.25}$$ < $${39.57}$$ | $${-0}$$ | $${15.12}$$ < $${15.76}$$ |
| ✅ | docker_dogstatsd_arm64 | $${-0}$$ | $${37.88}$$ < $${38.2}$$ | $${-0}$$ | $${14.54}$$ < $${14.83}$$ |
| ✅ | dogstatsd_deb_amd64 | $${0}$$ | $${30.48}$$ < $${31.4}$$ | $${+0}$$ | $${8.01}$$ < $${8.95}$$ |
| ✅ | dogstatsd_deb_arm64 | $${0}$$ | $${29.05}$$ < $${29.97}$$ | $${-0}$$ | $${6.94}$$ < $${7.89}$$ |
| ✅ | dogstatsd_rpm_amd64 | $${0}$$ | $${30.48}$$ < $${31.4}$$ | $${-0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | dogstatsd_suse_amd64 | $${0}$$ | $${30.48}$$ < $${31.4}$$ | $${-0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | iot_agent_deb_amd64 | $${+0}$$ | $${53.85}$$ < $${54.55}$$ | $${+0}$$ | $${13.56}$$ < $${14.45}$$ |
| ✅ | iot_agent_deb_arm64 | $${+0}$$ | $${51.2}$$ < $${51.9}$$ | $${+0}$$ | $${11.73}$$ < $${12.63}$$ |
| ✅ | iot_agent_deb_armhf | $${+0}$$ | $${50.71}$$ < $${51.42}$$ | $${+0}$$ | $${11.83}$$ < $${12.74}$$ |
| ✅ | iot_agent_rpm_amd64 | $${+0}$$ | $${53.85}$$ < $${54.55}$$ | $${+0}$$ | $${13.58}$$ < $${14.47}$$ |
| ✅ | iot_agent_rpm_arm64 | $${+0}$$ | $${51.2}$$ < $${51.91}$$ | $${+0}$$ | $${11.75}$$ < $${12.65}$$ |
| ✅ | iot_agent_suse_amd64 | $${+0}$$ | $${53.85}$$ < $${54.55}$$ | $${+0}$$ | $${13.58}$$ < $${14.47}$$ |
/merge
View all feedbacks in Devflow UI.
2025-07-10 13:59:44 UTC :information_source: Start processing command /merge
2025-07-10 13:59:57 UTC :information_source: MergeQueue: pull request added to the queue
The expected merge time in main is approximately 57m (p90).
2025-07-10 14:37:24 UTC :information_source: MergeQueue: This merge request was merged