From 4babc299dbc97925e2cda538b70bdcc9454739df Mon Sep 17 00:00:00 2001 From: "Brian L. Troutwine" Date: Thu, 21 Nov 2024 21:20:29 -0500 Subject: [PATCH] Set resource allocations for all SMP experiments This commit builds on the insight in #31333, setting allocations for all experiments. I further drop the allocation for quality-gate-idle as the bound there can be more tight. REF #31326 REF #31246 Signed-off-by: Brian L. Troutwine --- test/regression/cases/basic_py_check/experiment.yaml | 2 ++ .../cases/file_to_blackhole_1000ms_latency/experiment.yaml | 2 +- .../cases/file_to_blackhole_100ms_latency/experiment.yaml | 2 +- .../cases/file_to_blackhole_300ms_latency/experiment.yaml | 2 +- .../cases/file_to_blackhole_500ms_latency/experiment.yaml | 2 +- test/regression/cases/file_tree/experiment.yaml | 3 ++- test/regression/cases/otel_to_otel_logs/experiment.yaml | 2 ++ test/regression/cases/pycheck_lots_of_tags/experiment.yaml | 2 ++ test/regression/cases/quality_gate_idle/experiment.yaml | 2 ++ .../cases/quality_gate_idle_all_features/experiment.yaml | 2 ++ .../cases/tcp_dd_logs_filter_exclude/experiment.yaml | 2 ++ test/regression/cases/tcp_syslog_to_blackhole/experiment.yaml | 2 ++ test/regression/cases/uds_dogstatsd_to_api/experiment.yaml | 2 ++ test/regression/cases/uds_dogstatsd_to_api_cpu/experiment.yaml | 2 ++ 14 files changed, 24 insertions(+), 5 deletions(-) diff --git a/test/regression/cases/basic_py_check/experiment.yaml b/test/regression/cases/basic_py_check/experiment.yaml index 240733dde95fb4..75a98fa3723f60 100644 --- a/test/regression/cases/basic_py_check/experiment.yaml +++ b/test/regression/cases/basic_py_check/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 000001 diff --git a/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml index e19b8685b4079e..68432ca735b1c0 100644 --- a/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml @@ -5,7 +5,7 @@ target: name: datadog-agent command: /bin/entrypoint.sh cpu_allotment: 8 - memory_allotment: 30g + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml index e19b8685b4079e..68432ca735b1c0 100644 --- a/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml @@ -5,7 +5,7 @@ target: name: datadog-agent command: /bin/entrypoint.sh cpu_allotment: 8 - memory_allotment: 30g + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml index e19b8685b4079e..68432ca735b1c0 100644 --- a/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml @@ -5,7 +5,7 @@ target: name: datadog-agent command: /bin/entrypoint.sh cpu_allotment: 8 - memory_allotment: 30g + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml index e19b8685b4079e..68432ca735b1c0 100644 --- a/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml @@ -5,7 +5,7 @@ target: name: datadog-agent command: /bin/entrypoint.sh cpu_allotment: 8 - memory_allotment: 30g + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/file_tree/experiment.yaml b/test/regression/cases/file_tree/experiment.yaml index 924697307fc604..6c67c51ef14a50 100644 --- a/test/regression/cases/file_tree/experiment.yaml +++ b/test/regression/cases/file_tree/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 @@ -37,4 +39,3 @@ target: DD_PROFILING_EXECUTION_TRACE_ENABLED: true DD_PROFILING_EXECUTION_TRACE_PERIOD: 1m DD_PROFILING_WAIT_PROFILE: true - diff --git a/test/regression/cases/otel_to_otel_logs/experiment.yaml b/test/regression/cases/otel_to_otel_logs/experiment.yaml index ab8e6007454d4c..705b2147eb2c8d 100644 --- a/test/regression/cases/otel_to_otel_logs/experiment.yaml +++ b/test/regression/cases/otel_to_otel_logs/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/pycheck_lots_of_tags/experiment.yaml b/test/regression/cases/pycheck_lots_of_tags/experiment.yaml index e71d12e07cd615..71b13b0b2bc097 100644 --- a/test/regression/cases/pycheck_lots_of_tags/experiment.yaml +++ b/test/regression/cases/pycheck_lots_of_tags/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 000001 diff --git a/test/regression/cases/quality_gate_idle/experiment.yaml b/test/regression/cases/quality_gate_idle/experiment.yaml index 3ff952b7853954..6555258f346012 100644 --- a/test/regression/cases/quality_gate_idle/experiment.yaml +++ b/test/regression/cases/quality_gate_idle/experiment.yaml @@ -9,6 +9,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 500MiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/quality_gate_idle_all_features/experiment.yaml b/test/regression/cases/quality_gate_idle_all_features/experiment.yaml index 531ec400684c80..4f6b561838cbbb 100644 --- a/test/regression/cases/quality_gate_idle_all_features/experiment.yaml +++ b/test/regression/cases/quality_gate_idle_all_features/experiment.yaml @@ -9,6 +9,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 1GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/tcp_dd_logs_filter_exclude/experiment.yaml b/test/regression/cases/tcp_dd_logs_filter_exclude/experiment.yaml index 06dd741454310b..17a5adb011dd11 100644 --- a/test/regression/cases/tcp_dd_logs_filter_exclude/experiment.yaml +++ b/test/regression/cases/tcp_dd_logs_filter_exclude/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/tcp_syslog_to_blackhole/experiment.yaml b/test/regression/cases/tcp_syslog_to_blackhole/experiment.yaml index c7430bdc7e0276..f9168734cf9e7c 100644 --- a/test/regression/cases/tcp_syslog_to_blackhole/experiment.yaml +++ b/test/regression/cases/tcp_syslog_to_blackhole/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/uds_dogstatsd_to_api/experiment.yaml b/test/regression/cases/uds_dogstatsd_to_api/experiment.yaml index 64c40a67150ed4..fe93432493ecf0 100644 --- a/test/regression/cases/uds_dogstatsd_to_api/experiment.yaml +++ b/test/regression/cases/uds_dogstatsd_to_api/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001 diff --git a/test/regression/cases/uds_dogstatsd_to_api_cpu/experiment.yaml b/test/regression/cases/uds_dogstatsd_to_api_cpu/experiment.yaml index 63ea6a102aeace..ccb9f7b4e48667 100644 --- a/test/regression/cases/uds_dogstatsd_to_api_cpu/experiment.yaml +++ b/test/regression/cases/uds_dogstatsd_to_api_cpu/experiment.yaml @@ -4,6 +4,8 @@ erratic: false target: name: datadog-agent command: /bin/entrypoint.sh + cpu_allotment: 8 + memory_allotment: 4GiB environment: DD_API_KEY: 00000001