Skip to content

Commit

Permalink
[ACIX-548] Migrated trace agent integration tests on agent6 (#34238)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelianR authored Feb 25, 2025
1 parent 6135518 commit ed92adc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitlab/JOBOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ docker_image_build_otel @DataDog/opentelemetry
datadog_otel_components_ocb_build @DataDog/opentelemetry
agent_integration_tests @DataDog/container-integrations
docker_integration_tests @DataDog/container-integrations
trace_agent_integration_tests @DataDog/agent-apm

# Functional test
serverless_cold_start_performance-deb_x64 @DataDog/serverless
Expand Down
1 change: 1 addition & 0 deletions .gitlab/integration_test/include.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

include:
- .gitlab/integration_test/windows.yml
- .gitlab/integration_test/linux.yml
18 changes: 18 additions & 0 deletions .gitlab/integration_test/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.integration_tests_deb:
stage: integration_test
needs: ["go_deps", "go_tools_deps"]
rules:
- !reference [.except_mergequeue]
- when: on_success
before_script:
- !reference [.retrieve_linux_go_deps]
- !reference [.retrieve_linux_go_tools_deps]

trace_agent_integration_tests:
extends: .integration_tests_deb
image: registry.ddbuild.io/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES
tags: ["arch:amd64"]
timeout: 50m
retry: 2
script:
- inv -e trace-agent.integration-tests --race
2 changes: 0 additions & 2 deletions tasks/go_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from tasks.libs.junit_upload_core import enrich_junitxml, produce_junit_tar
from tasks.modules import GoModule
from tasks.test_core import ModuleTestResult, process_input_args, process_module_results, test_core
from tasks.trace_agent import integration_tests as trace_integration_tests

PROFILE_COV = "coverage.out"
TMP_PROFILE_COV_PREFIX = "coverage.out.rerun"
Expand Down Expand Up @@ -491,7 +490,6 @@ def integration_tests(ctx, install_deps=False, race=False, remote_docker=False,
lambda: agent_integration_tests(ctx, install_deps, race, remote_docker),
lambda: dsd_integration_tests(ctx, install_deps, race, remote_docker),
lambda: dca_integration_tests(ctx, install_deps, race, remote_docker),
lambda: trace_integration_tests(ctx, install_deps, race),
]
for t in tests:
try:
Expand Down

0 comments on commit ed92adc

Please sign in to comment.