[Do not merge] Investigate crashes at startup #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: System Tests Investigation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: {} | |
jobs: | |
build-artifact: | |
runs-on: ubuntu-latest | |
steps: | |
- run: mkdir binaries/ | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
path: binaries/dd-trace-py | |
# NB this ref is necessary to keep the checkout out of detached HEAD state, which setuptools_scm requires for | |
# proper version guessing | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: dd_trace_py | |
path: binaries/ | |
system-tests: | |
needs: build-artifact | |
strategy: | |
matrix: | |
scenarios: # list of scenario knowns to have startup crashes | |
- APM_TRACING_E2E_OTEL,APPSEC_API_SECURITY,APPSEC_API_SECURITY_NO_RESPONSE_BODY,APPSEC_API_SECURITY_RC | |
# - APPSEC_API_SECURITY_WITH_SAMPLING,APPSEC_CUSTOM_OBFUSCATION,APPSEC_CUSTOM_RULES,APPSEC_RATE_LIMITER | |
# - APPSEC_RASP,APPSEC_REQUEST_BLOCKING,APPSEC_RUNTIME_ACTIVATION,APPSEC_STANDALONE | |
# - DEBUGGER_EXPRESSION_LANGUAGE,TELEMETRY_METRIC_GENERATION_DISABLED,TELEMETRY_LOG_GENERATION_DISABLED | |
# attempt: [1, 2] # let's increase the crash probability | |
fail-fast: false | |
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main | |
secrets: inherit | |
with: | |
library: python | |
scenarios: ${{ matrix.scenarios }} | |
binaries_artifact: dd_trace_py |