Skip to content

Add some documentation on running system-tests#8298

Merged
bouwkast merged 2 commits into
masterfrom
steven/document-system-tests-running
Mar 16, 2026
Merged

Add some documentation on running system-tests#8298
bouwkast merged 2 commits into
masterfrom
steven/document-system-tests-running

Conversation

@bouwkast

Copy link
Copy Markdown
Collaborator

Summary of changes

This adds a brief document on how to test PR changes in/against system-tests

Reason for change

Feedback on onboarding into the repository where it wasn't obvious how to run system-tests (it isn't great)

Implementation details

Searched for system-tests.git in ultimate-pipeline.yaml and outlined changing the branch
Looked at the docker_image_artifacts label (introduced in #7337) and documented that

Test coverage

None!

Other details

I haven't really done this much so it may be wrong.
We have some documentation on running locally but last time I did that (~6 mos ago) it didn't work 😭

@bouwkast bouwkast requested a review from a team as a code owner March 12, 2026 14:41
@bouwkast bouwkast requested a review from link04 March 12, 2026 14:41

1. Add `docker_image_artifacts` label to your dd-trace-dotnet PR, this builds and pushes the Docker image
2. In your system-tests PR *title*, include `[dotnet@your-branch-name]`, this makes system-tests CI to pull that Docker image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something I learned this week that we can add like this:

  1. The PR's (dev) tests will run against the image created, whereas (prod) runs against master without your changes.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@pr-commenter

pr-commenter Bot commented Mar 12, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-03-16 15:46:19

Comparing candidate commit f7019c2 in PR branch steven/document-system-tests-running with baseline commit 46f950d in branch master.

Found 7 performance improvements and 4 performance regressions! Performance is the same for 166 metrics, 15 unstable metrics.

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟩 execution_time [-28.456ms; -24.481ms] or [-12.674%; -10.903%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟥 execution_time [+12.326ms; +18.632ms] or [+6.248%; +9.444%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟥 execution_time [+25.010ms; +26.628ms] or [+26.902%; +28.643%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟩 execution_time [-26.721ms; -23.549ms] or [-16.026%; -14.124%]
  • 🟩 throughput [+127.778op/s; +157.086op/s] or [+8.875%; +10.911%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+14.709ms; +19.829ms] or [+7.468%; +10.068%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟩 execution_time [-30.294ms; -25.151ms] or [-14.936%; -12.400%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟩 throughput [+11286.875op/s; +14848.342op/s] or [+5.046%; +6.639%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 throughput [-16542068.159op/s; -15155326.544op/s] or [-6.850%; -6.276%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 execution_time [-16.847ms; -15.691ms] or [-7.706%; -7.177%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • 🟩 execution_time [-18.581ms; -14.764ms] or [-8.656%; -6.878%]

@bouwkast bouwkast force-pushed the steven/document-system-tests-running branch from 39a4dbc to f7019c2 Compare March 16, 2026 15:02
@bouwkast bouwkast merged commit 8803967 into master Mar 16, 2026
98 of 101 checks passed
@bouwkast bouwkast deleted the steven/document-system-tests-running branch March 16, 2026 18:12
@github-actions github-actions Bot added this to the vNext-v3 milestone Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants