From 8c5f1507c357cc0e92dc59a049736028c7ae208a Mon Sep 17 00:00:00 2001 From: "alejandro.gonzalez" Date: Tue, 23 Jun 2026 10:08:06 +0200 Subject: [PATCH 1/2] [Java] Enable filenames tests for vertx3, vertx4 and spring-boot-jetty - Enable Test_Blocking_request_body_filenames for vertx3, vertx4 and spring-boot-jetty in manifests/java.yml (v1.64.0-SNAPSHOT): backed by dd-trace-java#11268 (Vert.x) and dd-trace-java#10988 (Jetty) - Remove AIDM-583 workaround from test_library_logs.py: the UnsupportedOperationException in NettyFileUpload.getHttpDataType() was fixed in dd-trace-java#11268, now merged to prod Jira: APPSEC-61873 --- manifests/java.yml | 6 +++--- tests/test_library_logs.py | 7 ------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/manifests/java.yml b/manifests/java.yml index 52bb4343f31..928caa54e16 100644 --- a/manifests/java.yml +++ b/manifests/java.yml @@ -1926,10 +1926,10 @@ manifest: "*": v1.62.0-SNAPSHOT spring-boot: v1.61.0-SNAPSHOT uds-spring-boot: v1.61.0-SNAPSHOT - spring-boot-jetty: missing_feature (no instrumentation for Jetty) + spring-boot-jetty: v1.64.0-SNAPSHOT spring-boot-payara: v1.63.0-SNAPSHOT - vertx3: missing_feature (no instrumentation for Vert.x async multipart) - vertx4: missing_feature (no instrumentation for Vert.x async multipart) + vertx3: v1.64.0-SNAPSHOT + vertx4: v1.64.0-SNAPSHOT spring-boot-3-native: irrelevant (GraalVM. Tracing support only) tests/appsec/test_blocking_addresses.py::Test_Blocking_request_body_files_content: - weblog_declaration: diff --git a/tests/test_library_logs.py b/tests/test_library_logs.py index 6ba31f62b4c..388df9bbff0 100644 --- a/tests/test_library_logs.py +++ b/tests/test_library_logs.py @@ -91,13 +91,6 @@ def test_java_telemetry_logs(self): if context.weblog_variant == "spring-boot-wildfly": # APPSEC-56111: allowed_patterns.append(re.escape("Failed to determine dependency for uri {}")) - if context.weblog_variant in ("vertx3", "vertx4"): - # AIDM-583: fixed in dd-trace-java#11268, remove this once that PR is merged - allowed_patterns.append( - re.escape( - "Failed to handle exception in instrumentation for io.netty.handler.codec.http.multipart.HttpPostMultipartRequestDecoder" - ) - ) compiled_paterns = [re.compile(p, re.MULTILINE | re.DOTALL) for p in allowed_patterns] data = interfaces.library.get_telemetry_data() data = [d["request"]["content"] for d in data] From 643c1fe5512c4ba9865859f6979c583d65440954 Mon Sep 17 00:00:00 2001 From: "alejandro.gonzalez" Date: Tue, 23 Jun 2026 10:31:10 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Restore=20AIDM-583=20workaround=20=E2=80=94?= =?UTF-8?q?=20fix=20not=20yet=20in=20released=20tracer=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dd-trace-java#11268 is merged to main but the CI runs against the released artifact, which still has the UnsupportedOperationException in NettyFileUpload.getHttpDataType(). Restore the allowed_pattern until the fix ships in a release. --- tests/test_library_logs.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_library_logs.py b/tests/test_library_logs.py index 388df9bbff0..1ded29e267f 100644 --- a/tests/test_library_logs.py +++ b/tests/test_library_logs.py @@ -91,6 +91,13 @@ def test_java_telemetry_logs(self): if context.weblog_variant == "spring-boot-wildfly": # APPSEC-56111: allowed_patterns.append(re.escape("Failed to determine dependency for uri {}")) + if context.weblog_variant in ("vertx3", "vertx4"): + # AIDM-583: fixed in dd-trace-java#11268, remove this once that fix is in a released version + allowed_patterns.append( + re.escape( + "Failed to handle exception in instrumentation for io.netty.handler.codec.http.multipart.HttpPostMultipartRequestDecoder" + ) + ) compiled_paterns = [re.compile(p, re.MULTILINE | re.DOTALL) for p in allowed_patterns] data = interfaces.library.get_telemetry_data() data = [d["request"]["content"] for d in data]