Skip to content

[python] activate capture expressions tests with correct version gate (DEBUG-5601)#6979

Open
P403n1x87 wants to merge 1 commit into
mainfrom
fix/DEBUG-5601-rc2
Open

[python] activate capture expressions tests with correct version gate (DEBUG-5601)#6979
P403n1x87 wants to merge 1 commit into
mainfrom
fix/DEBUG-5601-rc2

Conversation

@P403n1x87
Copy link
Copy Markdown
Contributor

Motivation

CaptureExpression RC payload uses "capture" field but tracer expects "limits". Fix is in dd-trace-py 4.9.0rc2.

Changes

Gate as bug for <4.9.0-rc2, enabled from 4.9.0-rc2 onwards.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@P403n1x87 P403n1x87 requested review from a team as code owners May 20, 2026 09:32
@P403n1x87 P403n1x87 requested review from brettlangdon and wconti27 and removed request for a team May 20, 2026 09:32
@github-actions
Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented May 20, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 9 Pipeline jobs failed

Testing the test | System Tests (python, dev) / End-to-end #1 / django-poc 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 3 failed tests due to assertion errors: 'Probes did not reach INSTALLED status' and 'Snapshot was not received'.

🧪 3 Tests failed

tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions.test_log_line_capture_expressions[django-poc] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Snapshot was not received&#39; is None
 &#43;  where &#39;Snapshot was not received&#39; = &lt;built-in method join of str object at 0x7fc31662b720&gt;([&#39;Snapshot was not received&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7fc31662b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Snapshot was not received&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7fc30c685040&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7fc30c685040&gt;

    def test_log_line_capture_expressions(self):
&gt;       self._assert()

...
tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions.test_complex_capture_expressions[django-poc] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Probes did not reach INSTALLED status&#39; is None
 &#43;  where &#39;Probes did not reach INSTALLED status&#39; = &lt;built-in method join of str object at 0x7fc31662b720&gt;([&#39;Probes did not reach INSTALLED status&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7fc31662b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Probes did not reach INSTALLED status&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7fc30c686240&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7fc30c686240&gt;

    def test_complex_capture_expressions(self):
&gt;       self._assert()

...
View all 3 test failures

Testing the test | System Tests (python, dev) / End-to-end #1 / django-py3.13 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 3 failed tests due to assertion error: 'Probes did not reach INSTALLED status' and 'Snapshot was not received'.

🧪 3 Tests failed

tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions.test_log_line_capture_expressions[django-py3.13] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Snapshot was not received&#39; is None
 &#43;  where &#39;Snapshot was not received&#39; = &lt;built-in method join of str object at 0x7fba92e2b720&gt;([&#39;Snapshot was not received&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7fba92e2b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Snapshot was not received&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7fba8c806000&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7fba8c806000&gt;

    def test_log_line_capture_expressions(self):
&gt;       self._assert()

...
tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions.test_complex_capture_expressions[django-py3.13] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Probes did not reach INSTALLED status&#39; is None
 &#43;  where &#39;Probes did not reach INSTALLED status&#39; = &lt;built-in method join of str object at 0x7fba92e2b720&gt;([&#39;Probes did not reach INSTALLED status&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7fba92e2b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Probes did not reach INSTALLED status&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7fba8c807350&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7fba8c807350&gt;

    def test_complex_capture_expressions(self):
&gt;       self._assert()

...
View all 3 test failures

Testing the test | System Tests (python, dev) / End-to-end #1 / fastapi 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 3 failed tests. AssertionError: assert 'Probes did not reach INSTALLED status' is None.

🧪 3 Tests failed

tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions.test_log_line_capture_expressions[fastapi] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Snapshot was not received&#39; is None
 &#43;  where &#39;Snapshot was not received&#39; = &lt;built-in method join of str object at 0x7f205082b720&gt;([&#39;Snapshot was not received&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7f205082b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Snapshot was not received&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7f2042f84e30&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Line_Capture_Expressions object at 0x7f2042f84e30&gt;

    def test_log_line_capture_expressions(self):
&gt;       self._assert()

...
tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions.test_complex_capture_expressions[fastapi] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: assert &#39;Probes did not reach INSTALLED status&#39; is None
 &#43;  where &#39;Probes did not reach INSTALLED status&#39; = &lt;built-in method join of str object at 0x7f205082b720&gt;([&#39;Probes did not reach INSTALLED status&#39;])
 &#43;    where &lt;built-in method join of str object at 0x7f205082b720&gt; = &#39;\n&#39;.join
 &#43;    and   [&#39;Probes did not reach INSTALLED status&#39;] = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7f2042f85190&gt;.setup_failures

self = &lt;tests.debugger.test_debugger_capture_expressions.Test_Debugger_Method_Capture_Expressions object at 0x7f2042f85190&gt;

    def test_complex_capture_expressions(self):
&gt;       self._assert()

...
View all 3 test failures

View all 9 failed jobs.

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: db1cf74 | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant