From a569ac0891756837af31037850ac28b705cf8939 Mon Sep 17 00:00:00 2001
From: Paul Cacheux <paul.cacheux@datadoghq.com>
Date: Fri, 29 Nov 2024 19:26:05 +0100
Subject: [PATCH] remove fentry tests

---
 .../kernel_matrix_testing/security_agent.yml  | 42 -------------------
 .../test-runner/files/cws_fentry.json         | 10 -----
 2 files changed, 52 deletions(-)
 delete mode 100644 test/new-e2e/system-probe/test-runner/files/cws_fentry.json

diff --git a/.gitlab/kernel_matrix_testing/security_agent.yml b/.gitlab/kernel_matrix_testing/security_agent.yml
index 26e9293844e9ec..13f93164f3e66c 100644
--- a/.gitlab/kernel_matrix_testing/security_agent.yml
+++ b/.gitlab/kernel_matrix_testing/security_agent.yml
@@ -215,26 +215,6 @@ kmt_run_secagent_tests_x64_ebpfless:
     - !reference [.collect_outcomes_kmt]
     - !reference [.upload_junit_kmt]
 
-kmt_run_secagent_tests_x64_fentry:
-  extends:
-    - .kmt_run_secagent_tests
-  image: registry.ddbuild.io/ci/datadog-agent-buildimages/system-probe_x64$DATADOG_AGENT_SYSPROBE_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_SYSPROBE_BUILDIMAGES
-  tags: ["arch:amd64"]
-  needs:
-    - kmt_setup_env_secagent_x64
-    - upload_dependencies_secagent_x64
-    - upload_secagent_tests_x64
-  variables:
-    ARCH: "x86_64"
-  parallel:
-    matrix:
-      - TAG:
-          - "amazon_2023"
-        TEST_SET: [cws_fentry]
-  after_script:
-    - !reference [.collect_outcomes_kmt]
-    - !reference [.upload_junit_kmt]
-
 kmt_run_secagent_tests_x64_docker:
   extends:
     - .kmt_run_secagent_tests
@@ -347,26 +327,6 @@ kmt_run_secagent_tests_arm64_ebpfless:
     - !reference [.collect_outcomes_kmt]
     - !reference [.upload_junit_kmt]
 
-kmt_run_secagent_tests_arm64_fentry:
-  extends:
-    - .kmt_run_secagent_tests
-  image: registry.ddbuild.io/ci/datadog-agent-buildimages/system-probe_arm64$DATADOG_AGENT_SYSPROBE_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_SYSPROBE_BUILDIMAGES
-  tags: ["arch:arm64"]
-  needs:
-    - kmt_setup_env_secagent_arm64
-    - upload_dependencies_secagent_arm64
-    - upload_secagent_tests_arm64
-  variables:
-    ARCH: "arm64"
-  parallel:
-    matrix:
-      - TAG:
-          - "ubuntu_24.04"
-        TEST_SET: [cws_fentry]
-  after_script:
-    - !reference [.collect_outcomes_kmt]
-    - !reference [.upload_junit_kmt]
-
 kmt_run_secagent_tests_arm64_docker:
   extends:
     - .kmt_run_secagent_tests
@@ -416,7 +376,6 @@ kmt_secagent_cleanup_arm64:
     - kmt_run_secagent_tests_arm64
     - kmt_run_secagent_tests_arm64_ad
     - kmt_run_secagent_tests_arm64_ebpfless
-    - kmt_run_secagent_tests_arm64_fentry
     - kmt_run_secagent_tests_arm64_docker
     - upload_dependencies_secagent_arm64
     - upload_secagent_tests_arm64
@@ -434,7 +393,6 @@ kmt_secagent_cleanup_x64:
     - kmt_run_secagent_tests_x64_required
     - kmt_run_secagent_tests_x64_ad
     - kmt_run_secagent_tests_x64_ebpfless
-    - kmt_run_secagent_tests_x64_fentry
     - kmt_run_secagent_tests_x64_docker
     - upload_dependencies_secagent_x64
     - upload_secagent_tests_x64
diff --git a/test/new-e2e/system-probe/test-runner/files/cws_fentry.json b/test/new-e2e/system-probe/test-runner/files/cws_fentry.json
deleted file mode 100644
index 8330f6d6048aff..00000000000000
--- a/test/new-e2e/system-probe/test-runner/files/cws_fentry.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-	"filters": {
-		"*": {
-			"exclude": false
-		}
-	},
-	"additional_env_vars": [
-		"DD_EVENT_MONITORING_CONFIG_EVENT_STREAM_USE_FENTRY=true"
-	]
-}