diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl index 278461ed354..84ae7f50a94 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -139,6 +140,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -228,6 +230,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -273,6 +276,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl index acbc458195b..84ed609243c 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions #1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -139,6 +140,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions #1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -228,6 +230,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions #2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -273,6 +276,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions #2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl index f078e1adbf3..a8dbd324e27 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_slow.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-test/events.ftl index b4249edcc4b..e2c2fe1550b 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-test/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -139,6 +140,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-failure/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-failure/events.ftl index fa6f8787e88..a28cbaf5b8a 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-failure/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-failure/events.ftl @@ -98,6 +98,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -145,6 +146,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -192,6 +194,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -239,6 +242,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-scenario-outline-5.4.0/events.ftl b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-scenario-outline-5.4.0/events.ftl index c1f7040efb4..7499518a591 100644 --- a/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-scenario-outline-5.4.0/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-scenario-outline-5.4.0/events.ftl @@ -184,6 +184,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -231,6 +232,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -278,6 +280,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -325,6 +328,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-4", "test.name" : "Many additions", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl index 31255f7ee07..fefa5428dcb 100644 --- a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl @@ -168,6 +168,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMUnitSlow", diff --git a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-test/events.ftl index bebb3577509..2db5a65169a 100644 --- a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-test/events.ftl @@ -169,6 +169,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMUnit", @@ -216,6 +217,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMUnit", diff --git a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-failed-then-succeed/events.ftl index a149ef888da..f479a9c9bf7 100644 --- a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-failed-then-succeed/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedThenSucceedMUnit", @@ -217,6 +218,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestFailedThenSucceedMUnit", diff --git a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-retry-failed/events.ftl index 3936d0c01bf..9824b20b206 100644 --- a/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-retry-failed/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedMUnit", @@ -220,6 +221,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedMUnit", @@ -269,6 +271,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedMUnit", @@ -318,6 +321,7 @@ "test.is_retry" : "true", "test.module" : "munit-junit-4", "test.name" : "Calculator.add", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedMUnit", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-faulty-session-threshold/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-faulty-session-threshold/events.ftl index 724fa0fafa1..6c81c7fb448 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-faulty-session-threshold/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-faulty-session-threshold/events.ftl @@ -173,6 +173,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -222,6 +223,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -323,6 +325,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -374,6 +377,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-known-tests-and-new-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-known-tests-and-new-test/events.ftl index 2d07797fa04..bf4a41fb58a 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-known-tests-and-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-known-tests-and-new-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -220,6 +221,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-parameterized-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-parameterized-test/events.ftl index a080d937ddf..ee4dc7e2c68 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-parameterized-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-parameterized-test/events.ftl @@ -175,6 +175,7 @@ "test.module" : "junit-4.10", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"metadata\":{\"test_name\":\"parameterized_test_succeed[str1]\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed()V", "test.status" : "pass", @@ -225,6 +226,7 @@ "test.module" : "junit-4.10", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"metadata\":{\"test_name\":\"parameterized_test_succeed[str1]\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed()V", "test.status" : "pass", @@ -324,6 +326,7 @@ "test.module" : "junit-4.10", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"metadata\":{\"test_name\":\"parameterized_test_succeed[\\\"str2\\\"]\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed()V", "test.status" : "pass", @@ -374,6 +377,7 @@ "test.module" : "junit-4.10", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"metadata\":{\"test_name\":\"parameterized_test_succeed[\\\"str2\\\"]\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-slow-test/events.ftl index 5b792a34254..145ff353be0 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-slow-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-test/events.ftl index a853112b597..fd1c1c4f6ba 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-efd-new-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", @@ -220,6 +221,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-failed-then-succeed/events.ftl index 72ecf28affe..6f70ee03e59 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-failed-then-succeed/events.ftl @@ -173,6 +173,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "fail", @@ -224,6 +225,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "fail", @@ -272,6 +274,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-failed/events.ftl index 384ef1723c4..d4d008f55a7 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-failed/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -221,6 +222,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -271,6 +273,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -321,6 +324,7 @@ "test.is_retry" : "true", "test.module" : "junit-4.10", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-parameterized/events.ftl index 1896c0400c6..18c64db1fbd 100644 --- a/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/junit-4.10/src/test/resources/test-retry-parameterized/events.ftl @@ -175,6 +175,7 @@ "test.module" : "junit-4.10", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_failed_parameterized[0 0 42]\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized()V", "test.status" : "fail", @@ -227,6 +228,7 @@ "test.module" : "junit-4.10", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_failed_parameterized[0 0 42]\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized()V", "test.status" : "fail", @@ -279,6 +281,7 @@ "test.module" : "junit-4.10", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_failed_parameterized[0 0 42]\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized()V", "test.status" : "fail", @@ -331,6 +334,7 @@ "test.module" : "junit-4.10", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_failed_parameterized[0 0 42]\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl index f93603d6060..cbff12a25ea 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl @@ -182,6 +182,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -227,6 +228,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -316,6 +318,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -361,6 +364,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl index 21a7050825f..40ba8846c29 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl @@ -182,6 +182,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -227,6 +228,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -316,6 +318,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -361,6 +364,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.2", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl index a42ac33f940..9c86624de09 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_slow.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-test/events.ftl index acb0f91ec5e..77edf65c23a 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-efd-new-test/events.ftl @@ -94,6 +94,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -139,6 +140,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-5.4.0/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-5.4.0/events.ftl index 89a2164fb35..04cab3cde63 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-5.4.0/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-5.4.0/events.ftl @@ -98,6 +98,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -145,6 +146,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -192,6 +194,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -239,6 +242,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-latest/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-latest/events.ftl index 71d21d8ef8f..4d5946a9922 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-latest/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-scenario-outline-latest/events.ftl @@ -98,6 +98,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -145,6 +146,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -192,6 +194,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", @@ -239,6 +242,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Many additions.Single digits.Example #1.1", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_failed_examples.feature:Basic Arithmetic With Examples", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-then-succeed/events.ftl index b0a33660cb9..45e54ef7fc9 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-failed-then-succeed/events.ftl @@ -96,6 +96,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed_then_succeed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -140,6 +141,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "pass", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed_then_succeed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -231,4 +233,4 @@ }, "type" : "test_module_end", "version" : 1 -} ] \ No newline at end of file +} ] diff --git a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-retry-failed/events.ftl index 634a2eb2754..bb58917bee1 100644 --- a/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-retry-failed/events.ftl @@ -98,6 +98,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -145,6 +146,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -192,6 +194,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", @@ -239,6 +242,7 @@ "test.is_retry" : "true", "test.module" : "cucumber-junit-5", "test.name" : "Addition", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", "test.traits" : "{\"category\":[\"foo\"]}", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-faulty-session-threshold/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-faulty-session-threshold/events.ftl index 28626e970fc..e49450e4e9f 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-faulty-session-threshold/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-faulty-session-threshold/events.ftl @@ -157,6 +157,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failure", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test failure()V", "test.status" : "fail", @@ -209,6 +210,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failure", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test failure()V", "test.status" : "fail", @@ -306,6 +308,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test success", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test success()V", "test.status" : "pass", @@ -355,6 +358,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test success", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test success()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-known-tests-and-new-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-known-tests-and-new-test/events.ftl index 867667dfb29..cdb22de17df 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-known-tests-and-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-known-tests-and-new-test/events.ftl @@ -153,6 +153,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", @@ -203,6 +204,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-parameterized-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-parameterized-test/events.ftl index 44aa916b066..9febaa7661e 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-parameterized-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-parameterized-test/events.ftl @@ -105,6 +105,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 1 and 2", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 1 and 2\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", @@ -155,6 +156,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 1 and 2", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 1 and 2\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", @@ -254,6 +256,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", @@ -304,6 +307,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl index 9217a1640d7..07d124e0111 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-slow-test/events.ftl @@ -103,6 +103,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test success", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test success()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-test/events.ftl index 8e560bcec12..ffe0cd611f5 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-efd-new-test/events.ftl @@ -103,6 +103,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test success", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test success()V", "test.status" : "pass", @@ -152,6 +153,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test success", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test success()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-failed-then-succeed/events.ftl index 1cc1cdba274..a2d98f91db4 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-failed-then-succeed/events.ftl @@ -109,6 +109,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed then succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed then succeed()V", "test.status" : "fail", @@ -161,6 +162,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed then succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed then succeed()V", "test.status" : "fail", @@ -210,6 +212,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed then succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed then succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-parameterized-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-parameterized-failed-then-succeed/events.ftl index 359f9de8661..ae1d49379e1 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-parameterized-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-parameterized-failed-then-succeed/events.ftl @@ -111,6 +111,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 1 and 2", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 1 and 2\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "fail", @@ -161,6 +162,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 1 and 2", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 1 and 2\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-failed/events.ftl index da27c5d9131..494677c86bb 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-failed/events.ftl @@ -109,6 +109,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed()V", "test.status" : "fail", @@ -161,6 +162,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed()V", "test.status" : "fail", @@ -213,6 +215,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed()V", "test.status" : "fail", @@ -265,6 +268,7 @@ "test.is_retry" : "true", "test.module" : "spock-junit-5", "test.name" : "test failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-parameterized/events.ftl index 5a272a67d08..2a2eee0b268 100644 --- a/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/spock-junit-5/src/test/resources/test-retry-parameterized/events.ftl @@ -160,6 +160,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "fail", @@ -213,6 +214,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "fail", @@ -266,6 +268,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "fail", @@ -319,6 +322,7 @@ "test.module" : "spock-junit-5", "test.name" : "test add 4 and 4", "test.parameters" : "{\"metadata\":{\"test_name\":\"test add 4 and 4\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test add #a and #b(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-faulty-session-threshold/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-faulty-session-threshold/events.ftl index 458ea9c1f5e..4ff48b32614 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-faulty-session-threshold/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-faulty-session-threshold/events.ftl @@ -173,6 +173,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -222,6 +223,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -325,6 +327,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -377,6 +380,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-known-tests-and-new-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-known-tests-and-new-test/events.ftl index 11af8659396..83e962c7cc4 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-known-tests-and-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-known-tests-and-new-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", @@ -220,6 +221,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_another_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_another_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-parameterized-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-parameterized-test/events.ftl index d5f49f6e5dd..3b9cabb13be 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-parameterized-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-parameterized-test/events.ftl @@ -175,6 +175,7 @@ "test.module" : "junit-5.3", "test.name" : "test_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 0, some:\\\"parameter\\\"\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_parameterized(IIILjava/lang/String;)V", "test.status" : "pass", @@ -225,6 +226,7 @@ "test.module" : "junit-5.3", "test.name" : "test_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 0, some:\\\"parameter\\\"\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_parameterized(IIILjava/lang/String;)V", "test.status" : "pass", @@ -324,6 +326,7 @@ "test.module" : "junit-5.3", "test.name" : "test_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 2, some:\\\"parameter\\\"\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_parameterized(IIILjava/lang/String;)V", "test.status" : "pass", @@ -374,6 +377,7 @@ "test.module" : "junit-5.3", "test.name" : "test_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 2, some:\\\"parameter\\\"\"}}", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_parameterized(IIILjava/lang/String;)V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-slow-test/events.ftl index d85b4f6f930..38b620e46ca 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-slow-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-test/events.ftl index 813af119691..e89d5033b24 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-efd-new-test/events.ftl @@ -171,6 +171,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", @@ -220,6 +221,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_succeed", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.source.method" : "test_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-failed-then-succeed/events.ftl index b7d3f1bb64c..3e1299a12be 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-failed-then-succeed/events.ftl @@ -173,6 +173,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "fail", @@ -224,6 +225,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "fail", @@ -272,6 +274,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed_then_succeed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_then_succeed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-factory/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-factory/events.ftl index 382311cbe7f..1163e899b00 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-factory/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-factory/events.ftl @@ -220,6 +220,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_factory", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_factory()Ljava/lang/Iterable;", "test.status" : "fail", @@ -271,6 +272,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_factory", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_factory()Ljava/lang/Iterable;", "test.status" : "fail", @@ -322,6 +324,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_factory", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_factory()Ljava/lang/Iterable;", "test.status" : "fail", @@ -373,6 +376,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_factory", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_factory()Ljava/lang/Iterable;", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-failed/events.ftl index 8eaced5d0d3..b789fefc1bf 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-failed/events.ftl @@ -173,6 +173,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -224,6 +225,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -275,6 +277,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -326,6 +329,7 @@ "test.is_retry" : "true", "test.module" : "junit-5.3", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-parameterized/events.ftl index 182b63cfe7c..5aa58f2784b 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-parameterized/events.ftl @@ -175,6 +175,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -227,6 +228,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -279,6 +281,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -331,6 +334,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[1] 0, 0, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -434,6 +438,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -486,6 +491,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -538,6 +544,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", @@ -590,6 +597,7 @@ "test.module" : "junit-5.3", "test.name" : "test_failed_parameterized", "test.parameters" : "{\"metadata\":{\"test_name\":\"[2] 1, 1, 42\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed_parameterized(III)V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-template/events.ftl b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-template/events.ftl index 10b4adb7d92..6a1200c7863 100644 --- a/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-template/events.ftl +++ b/dd-java-agent/instrumentation/junit-5.3/src/test/resources/test-retry-template/events.ftl @@ -175,6 +175,7 @@ "test.module" : "junit-5.3", "test.name" : "test_template", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_template_failed\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_template(Lorg/example/TestFailedTemplate$SampleTestCase;)V", "test.status" : "fail", @@ -227,6 +228,7 @@ "test.module" : "junit-5.3", "test.name" : "test_template", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_template_failed\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_template(Lorg/example/TestFailedTemplate$SampleTestCase;)V", "test.status" : "fail", @@ -279,6 +281,7 @@ "test.module" : "junit-5.3", "test.name" : "test_template", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_template_failed\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_template(Lorg/example/TestFailedTemplate$SampleTestCase;)V", "test.status" : "fail", @@ -331,6 +334,7 @@ "test.module" : "junit-5.3", "test.name" : "test_template", "test.parameters" : "{\"metadata\":{\"test_name\":\"test_template_failed\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_template(Lorg/example/TestFailedTemplate$SampleTestCase;)V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-faulty-session-threshold/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-faulty-session-threshold/events.ftl index a19267e29e1..dddeb50921c 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-faulty-session-threshold/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-faulty-session-threshold/events.ftl @@ -599,6 +599,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aa\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized_more_cases] test parameterized", "test.type" : "test", @@ -644,6 +645,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aa\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized_more_cases] test parameterized", "test.type" : "test", @@ -733,6 +735,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'b'\",\"value\":\"bb\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized_more_cases] test parameterized", "test.type" : "test", @@ -778,6 +781,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'b'\",\"value\":\"bb\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized_more_cases] test parameterized", "test.type" : "test", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-parameterized-test/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-parameterized-test/events.ftl index 9af698b8c3c..381cce18437 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-parameterized-test/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-parameterized-test/events.ftl @@ -527,6 +527,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aa\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized] test parameterized", "test.type" : "test", @@ -572,6 +573,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aa\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized] test parameterized", "test.type" : "test", @@ -661,6 +663,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'b'\",\"value\":\"bb\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized] test parameterized", "test.type" : "test", @@ -706,6 +709,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'b'\",\"value\":\"bb\"}", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_parameterized] test parameterized", "test.type" : "test", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-slow-test/events.ftl index 813a4021b63..37160da944f 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-slow-test/events.ftl @@ -143,6 +143,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "first scenario", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_succeed_slow] test succeed", "test.traits" : "{\"category\":[\"bar\",\"foo\"]}", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-test/events.ftl index 310f16d9883..72606227362 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-efd-new-test/events.ftl @@ -167,6 +167,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "first scenario", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_succeed_one_case] test succeed", "test.traits" : "{\"category\":[\"bar\",\"foo\"]}", @@ -212,6 +213,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "first scenario", + "test.retry_reason" : "efd", "test.status" : "pass", "test.suite" : "[org/example/test_succeed_one_case] test succeed", "test.traits" : "{\"category\":[\"bar\",\"foo\"]}", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-failed-then-succeed/events.ftl index a8329c8487e..b49efb2f751 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-failed-then-succeed/events.ftl @@ -169,6 +169,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "flaky scenario", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed_then_succeed] test failed", "test.type" : "test", @@ -212,6 +213,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "flaky scenario", + "test.retry_reason" : "atr", "test.status" : "pass", "test.suite" : "[org/example/test_failed_then_succeed] test failed", "test.type" : "test", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-failed/events.ftl index a6c7abcb6e3..220f0f7e0ff 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-failed/events.ftl @@ -286,6 +286,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "second scenario", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed] test failed", "test.type" : "test", @@ -332,6 +333,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "second scenario", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed] test failed", "test.type" : "test", @@ -378,6 +380,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "second scenario", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed] test failed", "test.type" : "test", @@ -424,6 +427,7 @@ "test.is_retry" : "true", "test.module" : "karate", "test.name" : "second scenario", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed] test failed", "test.type" : "test", diff --git a/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-parameterized/events.ftl index f57a0d5cb02..a935537b286 100644 --- a/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/karate/src/test/resources/test-retry-parameterized/events.ftl @@ -534,6 +534,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aaa\"}", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed_parameterized] test parameterized", "test.type" : "test", @@ -581,6 +582,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aaa\"}", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed_parameterized] test parameterized", "test.type" : "test", @@ -628,6 +630,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aaa\"}", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed_parameterized] test parameterized", "test.type" : "test", @@ -675,6 +678,7 @@ "test.module" : "karate", "test.name" : "first scenario as an outline", "test.parameters" : "{\"param\":\"'a'\",\"value\":\"aaa\"}", + "test.retry_reason" : "atr", "test.status" : "fail", "test.suite" : "[org/example/test_failed_parameterized] test parameterized", "test.type" : "test", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-faulty-session-threshold/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-faulty-session-threshold/events.ftl index 094a5988762..cbf1ffd36cf 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-faulty-session-threshold/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-faulty-session-threshold/events.ftl @@ -100,6 +100,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMoreCases", @@ -146,6 +147,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMoreCases", @@ -282,6 +284,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.subtract subtracts two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMoreCases", @@ -328,6 +331,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.subtract subtracts two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedMoreCases", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-slow-test/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-slow-test/events.ftl index 055bca1bfeb..a16541e6286 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-slow-test/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-slow-test/events.ftl @@ -100,6 +100,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceedSlow", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-test/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-test/events.ftl index 3c8d45f6152..c11c5dc1f45 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-test/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-efd-new-test/events.ftl @@ -100,6 +100,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceed", @@ -146,6 +147,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "efd", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestSucceed", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-failed-then-succeed/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-failed-then-succeed/events.ftl index 1f5bca15045..4086cf54d0c 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-failed-then-succeed/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-failed-then-succeed/events.ftl @@ -104,6 +104,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedThenSucceed", @@ -149,6 +150,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "pass", "test.suite" : "org.example.TestFailedThenSucceed", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-failed/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-failed/events.ftl index f4078552b53..d9499753bd7 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-failed/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-failed/events.ftl @@ -104,6 +104,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailed", @@ -152,6 +153,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailed", @@ -200,6 +202,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailed", @@ -248,6 +251,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "Example.add adds two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailed", diff --git a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-parameterized/events.ftl index c53f0088437..895acec8f46 100644 --- a/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/scalatest/src/test/resources/test-retry-parameterized/events.ftl @@ -104,6 +104,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "addition should correctly add two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedParameterized", @@ -152,6 +153,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "addition should correctly add two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedParameterized", @@ -200,6 +202,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "addition should correctly add two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedParameterized", @@ -248,6 +251,7 @@ "test.is_retry" : "true", "test.module" : "scalatest", "test.name" : "addition should correctly add two numbers", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.status" : "fail", "test.suite" : "org.example.TestFailedParameterized", diff --git a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-failed-then-succeed-6/events.ftl b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-failed-then-succeed-6/events.ftl index 3cc756c6ea8..de4b40ef19e 100644 --- a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-failed-then-succeed-6/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-failed-then-succeed-6/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -155,6 +156,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-error/events.ftl b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-error/events.ftl index 174d563b604..964793765fd 100644 --- a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-error/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-error/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -158,6 +159,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -209,6 +211,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -260,6 +263,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-failed-6/events.ftl b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-failed-6/events.ftl index 0cb1adc4e25..c6d698a14cc 100644 --- a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-failed-6/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-failed-6/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -158,6 +159,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -209,6 +211,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -260,6 +263,7 @@ "test.is_retry" : "true", "test.module" : "testng-6", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-parameterized/events.ftl index c8f3c9e2307..238c2a39343 100644 --- a/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-6/src/test/resources/test-retry-parameterized/events.ftl @@ -155,6 +155,7 @@ "test.module" : "testng-6", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -206,6 +207,7 @@ "test.module" : "testng-6", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -257,6 +259,7 @@ "test.module" : "testng-6", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -308,6 +311,7 @@ "test.module" : "testng-6", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-failed-then-succeed-7/events.ftl b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-failed-then-succeed-7/events.ftl index f3c8b90bbe9..463aed8c649 100644 --- a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-failed-then-succeed-7/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-failed-then-succeed-7/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -155,6 +156,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "pass", diff --git a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-error/events.ftl b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-error/events.ftl index 7de613032ed..6790eee4224 100644 --- a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-error/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-error/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -158,6 +159,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -209,6 +211,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", @@ -260,6 +263,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_error", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_error()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-failed-7/events.ftl b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-failed-7/events.ftl index aa1b1a25d57..94397e26158 100644 --- a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-failed-7/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-failed-7/events.ftl @@ -107,6 +107,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -158,6 +159,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -209,6 +211,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -260,6 +263,7 @@ "test.is_retry" : "true", "test.module" : "testng-7", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-parameterized/events.ftl b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-parameterized/events.ftl index 64bda798b4b..7ef1dcdbf3f 100644 --- a/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-parameterized/events.ftl +++ b/dd-java-agent/instrumentation/testng/testng-7/src/test/resources/test-retry-parameterized/events.ftl @@ -155,6 +155,7 @@ "test.module" : "testng-7", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -206,6 +207,7 @@ "test.module" : "testng-7", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -257,6 +259,7 @@ "test.module" : "testng-7", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", @@ -308,6 +311,7 @@ "test.module" : "testng-7", "test.name" : "parameterized_test_succeed", "test.parameters" : "{\"arguments\":{\"0\":\"\\\"goodbye\\\"\",\"1\":\"false\"}}", + "test.retry_reason" : "atr", "test.source.file" : "dummy_source_path", "test.source.method" : "parameterized_test_succeed(Ljava/lang/String;Z)V", "test.status" : "fail", diff --git a/dd-smoke-tests/gradle/src/test/resources/test-failed-flaky-retries/events.ftl b/dd-smoke-tests/gradle/src/test/resources/test-failed-flaky-retries/events.ftl index cee5b0310ff..522e3ac9d39 100644 --- a/dd-smoke-tests/gradle/src/test/resources/test-failed-flaky-retries/events.ftl +++ b/dd-smoke-tests/gradle/src/test/resources/test-failed-flaky-retries/events.ftl @@ -309,6 +309,7 @@ "test.is_retry" : "true", "test.module" : ":test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -364,6 +365,7 @@ "test.is_retry" : "true", "test.module" : ":test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -419,6 +421,7 @@ "test.is_retry" : "true", "test.module" : ":test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -474,6 +477,7 @@ "test.is_retry" : "true", "test.module" : ":test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", diff --git a/dd-smoke-tests/maven/src/test/resources/test_failed_maven_run_flaky_retries/events.ftl b/dd-smoke-tests/maven/src/test/resources/test_failed_maven_run_flaky_retries/events.ftl index d0fe38a197e..f0256077437 100644 --- a/dd-smoke-tests/maven/src/test/resources/test_failed_maven_run_flaky_retries/events.ftl +++ b/dd-smoke-tests/maven/src/test/resources/test_failed_maven_run_flaky_retries/events.ftl @@ -373,6 +373,7 @@ "test.is_retry" : "true", "test.module" : "Maven Smoke Tests Project maven-surefire-plugin default-test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -428,6 +429,7 @@ "test.is_retry" : "true", "test.module" : "Maven Smoke Tests Project maven-surefire-plugin default-test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -483,6 +485,7 @@ "test.is_retry" : "true", "test.module" : "Maven Smoke Tests Project maven-surefire-plugin default-test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail", @@ -538,6 +541,7 @@ "test.is_retry" : "true", "test.module" : "Maven Smoke Tests Project maven-surefire-plugin default-test", "test.name" : "test_failed", + "test.retry_reason" : "atr", "test.source.file" : "src/test/java/datadog/smoke/TestFailed.java", "test.source.method" : "test_failed()V", "test.status" : "fail",