diff --git a/.riot/requirements/17a060e.txt b/.riot/requirements/17a060e.txt new file mode 100644 index 00000000000..486c6ae8e6b --- /dev/null +++ b/.riot/requirements/17a060e.txt @@ -0,0 +1,30 @@ +# +# This file is autogenerated by pip-compile with Python 3.13 +# by the following command: +# +# pip-compile --allow-unsafe --cert=None --client-cert=None --index-url=None --no-annotate --pip-args=None .riot/requirements/17a060e.in +# +attrs==25.3.0 +coverage[toml]==7.10.7 +gunicorn==23.0.0 +hypothesis==6.45.0 +iniconfig==2.1.0 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 +lz4==4.4.4 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pluggy==1.6.0 +py-cpuinfo==8.0.0 +pygments==2.19.2 +pytest==8.4.2 +pytest-asyncio==0.21.1 +pytest-benchmark==5.1.0 +pytest-cov==7.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.15.1 +pytest-randomly==4.0.1 +referencing==0.36.2 +rpds-py==0.27.1 +sortedcontainers==2.4.0 diff --git a/.riot/requirements/18fddc3.txt b/.riot/requirements/18fddc3.txt new file mode 100644 index 00000000000..cdfab5e527e --- /dev/null +++ b/.riot/requirements/18fddc3.txt @@ -0,0 +1,35 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/18fddc3.in +# +attrs==25.3.0 +coverage[toml]==7.10.7 +exceptiongroup==1.3.0 +gunicorn==23.0.0 +hypothesis==6.45.0 +importlib-metadata==8.7.0 +iniconfig==2.1.0 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 +lz4==4.4.4 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pluggy==1.6.0 +py-cpuinfo==8.0.0 +pygments==2.19.2 +pytest==8.4.2 +pytest-asyncio==0.21.1 +pytest-benchmark==5.1.0 +pytest-cov==7.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.15.1 +pytest-randomly==4.0.1 +referencing==0.36.2 +rpds-py==0.27.1 +sortedcontainers==2.4.0 +tomli==2.2.1 +typing-extensions==4.15.0 +zipp==3.23.0 diff --git a/.riot/requirements/1a1c5ae.txt b/.riot/requirements/1a1c5ae.txt new file mode 100644 index 00000000000..d56f382026a --- /dev/null +++ b/.riot/requirements/1a1c5ae.txt @@ -0,0 +1,36 @@ +# +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/1a1c5ae.in +# +attrs==25.3.0 +coverage[toml]==7.6.1 +exceptiongroup==1.3.0 +gunicorn==23.0.0 +hypothesis==6.45.0 +importlib-metadata==8.5.0 +importlib-resources==6.4.5 +iniconfig==2.1.0 +jsonschema==4.23.0 +jsonschema-specifications==2023.12.1 +lz4==4.3.3 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pkgutil-resolve-name==1.3.10 +pluggy==1.5.0 +py-cpuinfo==8.0.0 +pytest==8.3.5 +pytest-asyncio==0.21.1 +pytest-benchmark==4.0.0 +pytest-cov==5.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.14.1 +pytest-randomly==3.15.0 +referencing==0.35.1 +rpds-py==0.20.1 +sortedcontainers==2.4.0 +tomli==2.2.1 +typing-extensions==4.13.2 +zipp==3.20.2 diff --git a/.riot/requirements/748e276.txt b/.riot/requirements/748e276.txt new file mode 100644 index 00000000000..3e9a45eb63a --- /dev/null +++ b/.riot/requirements/748e276.txt @@ -0,0 +1,31 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile --allow-unsafe --cert=None --client-cert=None --index-url=None --no-annotate --pip-args=None .riot/requirements/748e276.in +# +attrs==25.3.0 +coverage[toml]==7.10.7 +gunicorn==23.0.0 +hypothesis==6.45.0 +iniconfig==2.1.0 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 +lz4==4.4.4 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pluggy==1.6.0 +py-cpuinfo==8.0.0 +pygments==2.19.2 +pytest==8.4.2 +pytest-asyncio==0.21.1 +pytest-benchmark==5.1.0 +pytest-cov==7.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.15.1 +pytest-randomly==4.0.1 +referencing==0.36.2 +rpds-py==0.27.1 +sortedcontainers==2.4.0 +typing-extensions==4.15.0 diff --git a/.riot/requirements/dcbb0e8.txt b/.riot/requirements/dcbb0e8.txt new file mode 100644 index 00000000000..64f435348d0 --- /dev/null +++ b/.riot/requirements/dcbb0e8.txt @@ -0,0 +1,31 @@ +# +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: +# +# pip-compile --allow-unsafe --cert=None --client-cert=None --index-url=None --no-annotate --pip-args=None .riot/requirements/dcbb0e8.in +# +attrs==25.3.0 +coverage[toml]==7.10.7 +gunicorn==23.0.0 +hypothesis==6.45.0 +iniconfig==2.1.0 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 +lz4==4.4.4 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pluggy==1.6.0 +py-cpuinfo==8.0.0 +pygments==2.19.2 +pytest==8.4.2 +pytest-asyncio==0.21.1 +pytest-benchmark==5.1.0 +pytest-cov==7.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.15.1 +pytest-randomly==4.0.1 +referencing==0.36.2 +rpds-py==0.27.1 +sortedcontainers==2.4.0 +typing-extensions==4.15.0 diff --git a/.riot/requirements/dd5c1a4.txt b/.riot/requirements/dd5c1a4.txt new file mode 100644 index 00000000000..a7395f6c2de --- /dev/null +++ b/.riot/requirements/dd5c1a4.txt @@ -0,0 +1,33 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile --allow-unsafe --cert=None --client-cert=None --index-url=None --no-annotate --pip-args=None .riot/requirements/dd5c1a4.in +# +attrs==25.3.0 +coverage[toml]==7.10.7 +exceptiongroup==1.3.0 +gunicorn==23.0.0 +hypothesis==6.45.0 +iniconfig==2.1.0 +jsonschema==4.25.1 +jsonschema-specifications==2025.9.1 +lz4==4.4.4 +mock==5.2.0 +opentracing==2.4.0 +packaging==25.0 +pluggy==1.6.0 +py-cpuinfo==8.0.0 +pygments==2.19.2 +pytest==8.4.2 +pytest-asyncio==0.21.1 +pytest-benchmark==5.1.0 +pytest-cov==7.0.0 +pytest-cpp==2.6.0 +pytest-mock==3.15.1 +pytest-randomly==4.0.1 +referencing==0.36.2 +rpds-py==0.27.1 +sortedcontainers==2.4.0 +tomli==2.2.1 +typing-extensions==4.15.0 diff --git a/riotfile.py b/riotfile.py index e37ccd6e02e..4f2827ef534 100644 --- a/riotfile.py +++ b/riotfile.py @@ -3470,7 +3470,7 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT Venv( name="profile-v2", # NB riot commands that use this Venv must include --pass-env to work properly - command="python -m tests.profiling.run pytest -v --no-cov --capture=no --benchmark-disable {cmdargs} tests/profiling_v2", # noqa: E501 + command="python -m tests.profiling.run pytest -v --no-cov --capture=no --benchmark-disable --ignore='tests/profiling_v2/collector/test_memalloc.py' {cmdargs} tests/profiling_v2", # noqa: E501 env={ "DD_PROFILING_ENABLE_ASSERTS": "1", "CPUCOUNT": "12", @@ -3567,6 +3567,25 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT ), ], ), + Venv( + name="profile-v2-memalloc", + command="python -m tests.profiling.run pytest -v --no-cov --capture=no --benchmark-disable {cmdargs} tests/profiling_v2/collector/test_memalloc.py", # noqa: E501 + # skipping v3.14 for now due to an unstable `lz4 ` lib issue: https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-py/-/jobs/1163312347 + pys=select_pys(max_version="3.13"), + venvs=[ + # standard allocators + Venv( + env={ + "PYTHONMALLOC": [ + "malloc", + "pymalloc", + "malloc_debug", + "pymalloc_debug", + ], + }, + ), + ], + ), ], ), Venv( diff --git a/tests/profiling/suitespec.yml b/tests/profiling/suitespec.yml index 5a207856acb..8c49696c48a 100644 --- a/tests/profiling/suitespec.yml +++ b/tests/profiling/suitespec.yml @@ -104,6 +104,6 @@ suites: - '@profiling' - tests/profiling/suitespec.yml - tests/profiling_v2/* - pattern: profile-v2$ + pattern: profile-v2 retry: 2 runner: riot