Skip to content

Commit

Permalink
[CWS] add subset required CWS kmt tests (DataDog#31488)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux authored Nov 26, 2024
1 parent 6faf2e3 commit f39f3b4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .gitlab/kernel_matrix_testing/security_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ upload_secagent_tests_arm64:
ARCH: arm64
INSTANCE_TYPE: m6gd.metal

.kmt_run_secagent_tests:
.kmt_run_secagent_tests_base:
extends: .kmt_run_tests
allow_failure: true
stage: kernel_matrix_testing_security_agent
Expand All @@ -110,6 +110,10 @@ upload_secagent_tests_arm64:
variables:
TEST_COMPONENT: security-agent

.kmt_run_secagent_tests:
extends: .kmt_run_secagent_tests_base
allow_failure: true

kmt_run_secagent_tests_x64:
extends:
- .kmt_run_secagent_tests
Expand Down Expand Up @@ -151,6 +155,26 @@ kmt_run_secagent_tests_x64:
- !reference [.collect_outcomes_kmt]
- !reference [.upload_junit_kmt]

kmt_run_secagent_tests_x64_required:
extends:
- .kmt_run_secagent_tests_base
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:
- "ubuntu_24.10"
TEST_SET: [cws_req]
after_script:
- !reference [.collect_outcomes_kmt]
- !reference [.upload_junit_kmt]

kmt_run_secagent_tests_x64_ad:
extends:
- .kmt_run_secagent_tests
Expand Down Expand Up @@ -407,6 +431,7 @@ kmt_secagent_cleanup_x64:
needs:
- kmt_setup_env_secagent_x64
- kmt_run_secagent_tests_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
Expand Down
9 changes: 9 additions & 0 deletions test/new-e2e/system-probe/test-runner/files/cws_req.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"filters": {
"pkg/security": {
"run-only": [
"TestChmod"
]
}
}
}

0 comments on commit f39f3b4

Please sign in to comment.