Skip to content

Commit 25743d5

Browse files
authored
Merge branch 'main' into mtoff/java-config-sources
2 parents b8ab89c + f0ee1ef commit 25743d5

File tree

99 files changed

+4262
-563
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+4262
-563
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/utils/telemetry/intake/static/ @DataDog/apm-sdk
1616

1717
/tests/parametric/ @mabdinur @DataDog/system-tests-core @DataDog/apm-sdk-capabilities
18+
/tests/parametric/test_config_consistency.py @DataDog/apm-sdk-capabilities
1819
/tests/otel_tracing_e2e/ @DataDog/opentelemetry @DataDog/system-tests-core
1920
/tests/remote_config/ @DataDog/remote-config @DataDog/system-tests-core
2021
/tests/appsec/ @DataDog/asm-libraries @DataDog/system-tests-core
@@ -34,4 +35,4 @@
3435
/manifests/ruby.yml @DataDog/ruby-guild @DataDog/asm-ruby
3536
/manifests/rust.yml @DataDog/apm-rust
3637

37-
38+
/.github/chainguard/** @DataDog/system-tests-core # Security sensitive

.github/actions/pull_images/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runs:
4848
with:
4949
shell: bash
5050
command: docker compose pull
51-
timeout_minutes: 10
51+
timeout_minutes: 15
5252
retry_wait_seconds: 10
5353
max_attempts: 3
5454

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Docs: https://datadoghq.atlassian.net/wiki/spaces/SECENG/pages/5138645099/User+guide+dd-octo-sts
2+
issuer: https://token.actions.githubusercontent.com
3+
4+
subject: repo:DataDog/system-tests-dashboard:ref:refs/heads/main
5+
claim_pattern:
6+
event_name: (workflow_dispatch|schedule)
7+
ref: refs/heads/main
8+
ref_protected: "true"
9+
job_workflow_ref: DataDog/system-tests-dashboard/\.github/workflows/nightly\.yml@refs/heads/main
10+
11+
permissions:
12+
contents: write
13+
pull_requests: write

.github/workflows/codeowners.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Codeowners
2+
3+
on:
4+
pull_request:
5+
workflow_call:
6+
7+
jobs:
8+
report_codeowners:
9+
name: "Report codeowners"
10+
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: write
13+
steps:
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
with:
16+
persist-credentials: false
17+
fetch-depth: 0
18+
- name: Get changed files
19+
id: changed-files
20+
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
21+
- name: Setup go
22+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
23+
- name: Install codeowners
24+
run: go install github.com/hmarr/codeowners/cmd/codeowners@b0f609d21eb672b5cb2973f47a80210185102504
25+
- name: List owners of all changed files
26+
id: codeowners_resolved
27+
run: |
28+
codeowners ${{ steps.changed-files.outputs.all_modified_files }}
29+
echo "results<<EOF" >> "$GITHUB_OUTPUT"
30+
echo "$(codeowners ${{ steps.changed-files.outputs.all_modified_files }})" >> "$GITHUB_OUTPUT"
31+
echo "EOF" >> "$GITHUB_OUTPUT"
32+
- name: Comment PR
33+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
34+
with:
35+
file-path: resolved.txt
36+
comment-tag: codeowners_resolved
37+
mode: upsert
38+
message: |
39+
`CODEOWNERS` have been resolved as:
40+
41+
```
42+
${{ steps.codeowners_resolved.outputs.results }}
43+
```

.github/workflows/run-end-to-end.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ on:
8989
required: false
9090
type: boolean
9191

92-
env:
93-
REGISTRY: ghcr.io
94-
9592
jobs:
9693
main:
9794
name: "${{ inputs.weblog }} ${{ inputs.weblog_instance }}"
@@ -146,9 +143,6 @@ jobs:
146143
scenarios: ${{ inputs.scenarios }}
147144
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
148145
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
149-
- name: Log in to the Container registry
150-
if: ${{ inputs.library == 'ruby' }}
151-
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
152146
- name: Build weblog
153147
id: build
154148
run: SYSTEM_TEST_BUILD_ATTEMPTS=3 ./build.sh ${{ inputs.library }} -i weblog -w ${{ inputs.weblog }}
@@ -256,9 +250,6 @@ jobs:
256250
- name: Run REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES_NOCACHE scenario
257251
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES_NOCACHE"')
258252
run: ./run.sh REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES_NOCACHE
259-
- name: Run REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD_NOCACHE scenario
260-
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD_NOCACHE"')
261-
run: ./run.sh REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD_NOCACHE
262253
- name: Run AGENT_SUPPORTING_SPAN_EVENTS scenario
263254
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"AGENT_SUPPORTING_SPAN_EVENTS"')
264255
run: ./run.sh AGENT_SUPPORTING_SPAN_EVENTS
@@ -297,9 +288,6 @@ jobs:
297288
- name: Run APPSEC_BLOCKING_FULL_DENYLIST scenario
298289
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_BLOCKING_FULL_DENYLIST"')
299290
run: ./run.sh APPSEC_BLOCKING_FULL_DENYLIST
300-
- name: Run APPSEC_AND_RC_ENABLED scenario
301-
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_AND_RC_ENABLED"')
302-
run: ./run.sh APPSEC_AND_RC_ENABLED
303291
- name: Run APPSEC_RUNTIME_ACTIVATION scenario
304292
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_RUNTIME_ACTIVATION"')
305293
run: ./run.sh APPSEC_RUNTIME_ACTIVATION

.github/workflows/run-stream-processing-offload.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
- name: Pull images
8383
uses: ./.github/actions/pull_images
8484
with:
85-
cleanup: "false"
8685
library: golang
8786
weblog: golang-dummy
8887
scenarios: '["STREAM_PROCESSING_OFFLOAD", "STREAM_PROCESSING_OFFLOAD_BLOCKING"]'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,6 @@ tmp/
7676

7777
# Go
7878
go.work*
79+
80+
# Hypothesis Python package
81+
.hypothesis/

conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,13 @@ def pytest_sessionfinish(session: pytest.Session, exitstatus: int) -> None:
541541
testcase.attrib["name"] = testcase.attrib["classname"] + "." + testcase.attrib["name"]
542542
del testcase.attrib["classname"]
543543

544+
if context.weblog_variant:
545+
name = testcase.attrib["name"]
546+
if name.endswith("]"):
547+
testcase.attrib["name"] = f"{name[:-1]}, {context.weblog_variant}]"
548+
else:
549+
testcase.attrib["name"] = f"{name}[{context.weblog_variant}]"
550+
544551
junit_report.write(session.config.option.xmlpath)
545552

546553
try:

manifests/cpp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ tests/:
4141
test_otel_env_vars.py:
4242
Test_Otel_Env_Vars: missing_feature
4343
test_otel_logs.py: missing_feature
44+
test_otel_metrics.py: missing_feature
4445
test_otel_span_methods.py: irrelevant (library does not implement OpenTelemetry)
4546
test_otel_span_with_baggage.py:
4647
Test_Otel_Span_With_Baggage: missing_feature

manifests/dotnet.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ tests/:
549549
Test_Config_TraceEnabled: v3.3.0
550550
Test_Config_TraceLogDirectory: v3.3.0
551551
Test_Config_UnifiedServiceTagging: v3.3.0
552-
Test_Stable_Config_Default: missing_feature
552+
Test_Stable_Config_Default: v3.28.0
553553
test_crashtracking.py:
554554
Test_Crashtracking: v3.2.0
555555
test_dynamic_configuration.py:
@@ -566,6 +566,7 @@ tests/:
566566
test_otel_env_vars.py:
567567
Test_Otel_Env_Vars: v2.53.0
568568
test_otel_logs.py: missing_feature
569+
test_otel_metrics.py: missing_feature
569570
test_otel_span_with_baggage.py:
570571
Test_Otel_Span_With_Baggage: missing_feature
571572
test_otel_tracer.py:
@@ -588,7 +589,7 @@ tests/:
588589
Test_Consistent_Configs: missing_feature
589590
Test_Defaults: v2.49.0
590591
Test_Environment: v2.49.0
591-
Test_Stable_Configuration_Origin: missing_feature
592+
Test_Stable_Configuration_Origin: v3.28.0
592593
Test_TelemetryInstallSignature: v2.45.0
593594
Test_TelemetrySCAEnvVar: v2.50.0
594595
Test_TelemetrySSIConfigs: v2.53.0

0 commit comments

Comments
 (0)