Skip to content

Adding features to test optimization data#7202

Draft
nccatoni wants to merge 4 commits into
mainfrom
nccatoni/feature-test-optim
Draft

Adding features to test optimization data#7202
nccatoni wants to merge 4 commits into
mainfrom
nccatoni/feature-test-optim

Conversation

@nccatoni

Copy link
Copy Markdown
Collaborator

Motivation

Changes

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?

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

conftest.py                                                             @DataDog/system-tests-core
tests/test_the_test/reportJunit_expected.xml                            @DataDog/system-tests-core

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jun 23, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 15 Pipeline jobs failed

Testing the test | System Tests (nodejs, dev) / End-to-end #2 / express4 2   View in Datadog   GitHub Actions

🧪 2 Tests failed

tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing.test_api10_response_body_ignored_content_length_missing[express4] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7ffa514912e0>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7ffa514912e0>

    def test_api10_response_body_ignored_content_length_missing(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
...
tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big.test_api10_response_body_ignored_content_length_too_big[express4] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7ffa51490c80>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7ffa51490c80>

    def test_api10_response_body_ignored_content_length_too_big(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
...

Testing the test | System Tests (nodejs, dev) / End-to-end #2 / express4-typescript 2   View in Datadog   GitHub Actions

🧪 2 Tests failed

tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing.test_api10_response_body_ignored_content_length_missing[express4-typescript] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7fae2035cbc0>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7fae2035cbc0>

    def test_api10_response_body_ignored_content_length_missing(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
...
tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big.test_api10_response_body_ignored_content_length_too_big[express4-typescript] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7fae2035c2f0>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7fae2035c2f0>

    def test_api10_response_body_ignored_content_length_too_big(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
...

Testing the test | System Tests (nodejs, dev) / End-to-end #2 / express5 2   View in Datadog   GitHub Actions

🧪 2 Tests failed

tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing.test_api10_response_body_ignored_content_length_missing[express5] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7f7fa48e6ae0>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7f7fa48e6ae0>

    def test_api10_response_body_ignored_content_length_missing(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_missing</pre>\n</body>\n</html>\n).status_code
...
tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big.test_api10_response_body_ignored_content_length_too_big[express5] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
 +    where HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n) = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7f7fa48e66c0>.r

self = <tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_too_big object at 0x7f7fa48e66c0>

    def test_api10_response_body_ignored_content_length_too_big(self):
>       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        +  where 404 = HttpResponse(status_code:404, headers:{'X-Powered-By': 'Express', 'Strict-Transport-Security': 'max-age=31536000', 'X-...rror</title>\n</head>\n<body>\n<pre>Cannot GET /external_request/body_limit/content_length_too_big</pre>\n</body>\n</html>\n).status_code
...

View all 15 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: 3d0c940 | 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