Skip to content

Improve CI resilency against connectivity errors#7974

Merged
NachoEchevarria merged 9 commits intomasterfrom
nacho/RetryOnConnectionErrors
Dec 24, 2025
Merged

Improve CI resilency against connectivity errors#7974
NachoEchevarria merged 9 commits intomasterfrom
nacho/RetryOnConnectionErrors

Conversation

@NachoEchevarria
Copy link
Collaborator

@NachoEchevarria NachoEchevarria commented Dec 18, 2025

Summary of changes

Add retry logic to all external network operations in Azure Pipelines to improve CI reliability and reduce flaky build failures caused by transient network errors. This kind of errors are intermitent. While some jobs failend, very similar ones passed.

GH lately seems to have connection issues like this or this:

Cloning into 'system-tests'...
fatal: unable to access 'https://github.com/DataDog/system-tests.git/': Failed to connect to github.com port 443 after 134516 ms: Couldn't connect to server

Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----        12/18/2025  11:02 AM                docker-compose                                                       
Invoke-WebRequest : Unable to connect to the remote server
##[error]PowerShell exited with code '1'.
At D:\a\_temp\a6fb5578-1800-4125-b776-2121cf46ab9d.ps1:8 char:1
+ Invoke-WebRequest "https://github.com/docker/compose/releases/downloa ..

This PR improves our pipeline resilency against this type of errors.

Reason for change

Recent CI failures show transient network errors causing build failures:

  • Unable to connect to the remote server when downloading docker-compose
  • Failed to connect to github.com port 443 when cloning repositories
  • Connection timeouts on various download operations

These errors are typically transient and succeed on retry. Adding automatic retry logic reduces manual re-runs and improves CI reliability.

Implementation details

Git Operations

  • Added git -c http.retry=5 -c http.retryDelay=2 to all git clone commands
  • Configured retry settings in clone-repo.yml for both Linux and Windows checkout operations
  • Affected files:
    • ultimate-pipeline.yml (system-tests clones, master branch fetch)
    • steps/clone-repo.yml (repository checkout operations)

Download Operations

  • Docker Compose (steps/install-docker-compose-v1.yml)
    • Linux: Added curl retry flags (--retry 5 --retry-delay 2 --retry-connrefused --connect-timeout 30 --max-time 120)
    • Windows: Invoke-WebRequest (-MaximumRetryCount 5 -RetryIntervalSec 2) -TimeoutSec 120)

API Calls

  • GitHub API (ultimate-pipeline.yml)

    • Added curl retry flags to PR label fetch (line ~4261)
    • Added curl retry flags to workflow dispatch (line ~4281)
  • GitHub Status Updates (steps/update-github-status.yml)

    • Added curl retry flags to status update API calls

Package Installation

  • PyPI (ultimate-pipeline.yml, line ~6291)
    • Added --retries 5 --timeout 120 to pip install ddapm-test-agent

Retry Configuration

All retry configurations use consistent parameters:

  • curl: 5 retries, 2 second delay, 30s connection timeout, 120s max time
  • git: 5 retries, 2 second delay
  • PowerShell (Invoke-WebRequest): 5 retries, 2 second interval, 120s timeout
  • pip: 5 retries, 120s timeout

Test coverage

  • All changes preserve existing functionality
  • Retry logic only activates on failure, no impact on successful operations
  • PowerShell scripts migrated to pwsh (PowerShell 7+) which is available on all Azure Pipelines agents

Other details

@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Dec 18, 2025
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Dec 19, 2025

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (7974) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration68.23 ± (68.22 - 68.45) ms68.37 ± (68.33 - 68.53) ms+0.2%✅⬆️
.NET Framework 4.8 - Bailout
duration71.92 ± (71.95 - 72.15) ms72.09 ± (72.03 - 72.37) ms+0.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1003.60 ± (1003.70 - 1009.77) ms999.97 ± (1002.75 - 1008.43) ms-0.4%
.NET Core 3.1 - Baseline
process.internal_duration_ms21.88 ± (21.86 - 21.91) ms21.89 ± (21.86 - 21.91) ms+0.0%✅⬆️
process.time_to_main_ms78.35 ± (78.22 - 78.47) ms78.61 ± (78.47 - 78.75) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.92 ± (10.91 - 10.92) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.85 ± (21.82 - 21.88) ms21.85 ± (21.83 - 21.88) ms+0.0%✅⬆️
process.time_to_main_ms79.87 ± (79.77 - 79.97) ms79.77 ± (79.67 - 79.86) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.94 - 10.95) MB10.94 ± (10.94 - 10.94) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.36 ± (210.20 - 214.53) ms210.55 ± (209.25 - 211.85) ms-0.9%
process.time_to_main_ms471.24 ± (470.64 - 471.85) ms472.61 ± (472.07 - 473.14) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.05 ± (48.03 - 48.07) MB48.18 ± (48.17 - 48.20) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.64 ± (20.61 - 20.66) ms20.75 ± (20.72 - 20.78) ms+0.6%✅⬆️
process.time_to_main_ms68.03 ± (67.91 - 68.16) ms68.25 ± (68.10 - 68.39) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.64 ± (10.64 - 10.64) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.51 ± (20.49 - 20.54) ms20.59 ± (20.57 - 20.60) ms+0.3%✅⬆️
process.time_to_main_ms68.70 ± (68.64 - 68.77) ms68.85 ± (68.79 - 68.91) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.64 - 10.65) MB10.72 ± (10.71 - 10.73) MB+0.7%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms198.29 ± (197.25 - 199.34) ms200.20 ± (199.11 - 201.30) ms+1.0%✅⬆️
process.time_to_main_ms439.45 ± (438.43 - 440.46) ms440.78 ± (440.23 - 441.32) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.18 - 48.32) MB48.26 ± (48.19 - 48.32) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.86 ± (18.84 - 18.88) ms18.85 ± (18.81 - 18.88) ms-0.1%
process.time_to_main_ms67.04 ± (66.93 - 67.15) ms67.10 ± (66.97 - 67.22) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.64 - 7.65) MB7.66 ± (7.66 - 7.67) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.80 ± (18.77 - 18.83) ms18.87 ± (18.85 - 18.90) ms+0.4%✅⬆️
process.time_to_main_ms67.91 ± (67.86 - 67.97) ms68.26 ± (68.20 - 68.33) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.73 ± (7.72 - 7.74) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms179.27 ± (178.34 - 180.20) ms178.81 ± (177.87 - 179.76) ms-0.3%
process.time_to_main_ms423.92 ± (423.18 - 424.67) ms423.50 ± (422.85 - 424.14) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.29 ± (36.26 - 36.32) MB36.35 ± (36.31 - 36.39) MB+0.2%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration192.99 ± (192.95 - 193.82) ms194.08 ± (194.05 - 195.01) ms+0.6%✅⬆️
.NET Framework 4.8 - Bailout
duration195.89 ± (196.03 - 196.62) ms196.87 ± (196.71 - 197.29) ms+0.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1105.69 ± (1107.88 - 1114.93) ms1112.68 ± (1119.08 - 1128.93) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.50 ± (187.10 - 187.90) ms188.01 ± (187.68 - 188.34) ms+0.3%✅⬆️
process.time_to_main_ms80.55 ± (80.34 - 80.76) ms80.80 ± (80.61 - 81.00) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.03 - 16.09) MB16.18 ± (16.15 - 16.21) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.5%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms187.30 ± (186.97 - 187.62) ms187.60 ± (187.25 - 187.96) ms+0.2%✅⬆️
process.time_to_main_ms81.92 ± (81.78 - 82.06) ms81.96 ± (81.84 - 82.07) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.12 - 16.18) MB16.18 ± (16.15 - 16.20) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.7%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms395.33 ± (392.99 - 397.67) ms398.17 ± (394.47 - 401.88) ms+0.7%✅⬆️
process.time_to_main_ms474.27 ± (473.65 - 474.90) ms474.30 ± (473.41 - 475.18) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.60 ± (58.46 - 58.74) MB58.21 ± (58.00 - 58.41) MB-0.7%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 29)-0.1%
.NET 6 - Baseline
process.internal_duration_ms191.85 ± (191.49 - 192.21) ms192.21 ± (191.78 - 192.65) ms+0.2%✅⬆️
process.time_to_main_ms69.69 ± (69.52 - 69.86) ms70.23 ± (70.02 - 70.44) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.11 ± (15.97 - 16.26) MB16.41 ± (16.38 - 16.44) MB+1.8%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (19 - 19)+2.4%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms190.87 ± (190.57 - 191.17) ms191.56 ± (191.22 - 191.89) ms+0.4%✅⬆️
process.time_to_main_ms70.68 ± (70.56 - 70.80) ms70.91 ± (70.81 - 71.01) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.94 ± (15.78 - 16.11) MB16.03 ± (15.88 - 16.18) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+1.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms408.43 ± (406.42 - 410.44) ms417.02 ± (414.12 - 419.92) ms+2.1%✅⬆️
process.time_to_main_ms445.34 ± (444.69 - 445.98) ms446.13 ± (445.44 - 446.82) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.06 ± (58.92 - 59.21) MB59.19 ± (59.06 - 59.31) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (29 - 30)-0.2%
.NET 8 - Baseline
process.internal_duration_ms189.77 ± (189.42 - 190.13) ms196.65 ± (196.10 - 197.20) ms+3.6%✅⬆️
process.time_to_main_ms69.48 ± (69.32 - 69.65) ms71.40 ± (71.17 - 71.64) ms+2.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.74 - 11.81) MB11.67 ± (11.65 - 11.69) MB-0.9%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.9%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.22 ± (188.88 - 189.56) ms192.04 ± (191.54 - 192.54) ms+1.5%✅⬆️
process.time_to_main_ms70.40 ± (70.30 - 70.49) ms71.05 ± (70.89 - 71.21) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.82 ± (11.76 - 11.89) MB11.76 ± (11.73 - 11.78) MB-0.6%
runtime.dotnet.threads.count19 ± (18 - 19)19 ± (19 - 19)+3.0%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.58 ± (363.15 - 366.01) ms370.25 ± (368.96 - 371.55) ms+1.6%✅⬆️
process.time_to_main_ms429.08 ± (428.33 - 429.82) ms432.91 ± (432.25 - 433.57) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.96 ± (47.93 - 47.99) MB48.01 ± (47.98 - 48.04) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.6%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (68ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (7974) - mean (72ms)  : 71, 74
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (1,006ms)  : 965, 1046
    master - mean (1,007ms)  : 964, 1050

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (106ms)  : 104, 108
    master - mean (105ms)  : 103, 108

    section Bailout
    This PR (7974) - mean (107ms)  : 106, 108
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (711ms)  : 679, 742
    master - mean (712ms)  : 677, 747

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (94ms)  : 91, 97
    master - mean (93ms)  : 92, 95

    section Bailout
    This PR (7974) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (667ms)  : 646, 687
    master - mean (671ms)  : 624, 719

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (92ms)  : 90, 94
    master - mean (92ms)  : 89, 95

    section Bailout
    This PR (7974) - mean (93ms)  : 92, 95
    master - mean (93ms)  : 91, 94

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (629ms)  : 614, 645
    master - mean (631ms)  : 617, 644

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (195ms)  : 189, 200
    master - mean (193ms)  : 189, 198

    section Bailout
    This PR (7974) - mean (197ms)  : 194, 200
    master - mean (196ms)  : 194, 199

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (1,124ms)  : 1051, 1197
    master - mean (1,111ms)  : 1061, 1162

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (277ms)  : 271, 283
    master - mean (277ms)  : 272, 281

    section Bailout
    This PR (7974) - mean (278ms)  : 274, 281
    master - mean (277ms)  : 274, 281

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (906ms)  : 853, 958
    master - mean (907ms)  : 867, 948

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (271ms)  : 264, 278
    master - mean (269ms)  : 265, 274

    section Bailout
    This PR (7974) - mean (271ms)  : 265, 276
    master - mean (270ms)  : 266, 273

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (897ms)  : 841, 952
    master - mean (888ms)  : 850, 926

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7974) - mean (278ms)  : 267, 289
    master - mean (269ms)  : 264, 274

    section Bailout
    This PR (7974) - mean (273ms)  : 266, 279
    master - mean (269ms)  : 265, 273

    section CallTarget+Inlining+NGEN
    This PR (7974) - mean (834ms)  : 806, 862
    master - mean (826ms)  : 802, 849

Loading

@pr-commenter
Copy link

pr-commenter bot commented Dec 19, 2025

Benchmarks

Benchmark execution time: 2025-12-23 15:26:14

Comparing candidate commit 5a87c5b in PR branch nacho/RetryOnConnectionErrors with baseline commit 053addc in branch master.

Found 7 performance improvements and 6 performance regressions! Performance is the same for 157 metrics, 16 unstable metrics.

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟩 throughput [+163495.628op/s; +167826.455op/s] or [+20.028%; +20.559%]

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

  • 🟥 execution_time [+15.578ms; +21.514ms] or [+7.900%; +10.910%]

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

  • 🟥 execution_time [+13.333ms; +19.085ms] or [+6.684%; +9.567%]

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

  • 🟩 execution_time [-21.477ms; -15.679ms] or [-9.981%; -7.287%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟩 execution_time [-22.701ms; -22.033ms] or [-11.166%; -10.837%]

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

  • 🟩 execution_time [-110.679ms; -94.958ms] or [-56.481%; -48.458%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 throughput [-108.528op/s; -62.072op/s] or [-9.964%; -5.699%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • 🟥 throughput [-159.655op/s; -114.887op/s] or [-32.263%; -23.216%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟩 throughput [+13949.114op/s; +15493.366op/s] or [+5.025%; +5.582%]

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

  • 🟥 execution_time [+15.120ms; +21.127ms] or [+7.671%; +10.719%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟩 throughput [+21840.024op/s; +23892.819op/s] or [+6.955%; +7.609%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • 🟩 throughput [+27461.524op/s; +30295.338op/s] or [+6.291%; +6.940%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟥 execution_time [+20.538ms; +24.456ms] or [+10.606%; +12.629%]

# GitHub now requires TLS1.2. In PowerShell, run the following
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-windows-x86_64.exe" -OutFile "${{ parameters.dockerComposePath }}"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Using this would avoid all these lines, but this is only supported on newer versions, using pwsh, which is not supported by some agents and makes the CI to fail.

Invoke-WebRequest -Uri <Uri> -OutFile dotnet-install.ps1 -MaximumRetryCount $(PWSH_MAX_RETRY_COUNT) -RetryIntervalSec $(PWSH_RETRY_INTERVAL_SEC) -TimeoutSec $(PWSH_TIMEOUT_SEC)

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should look at ensuring we have pwsh installed on the agents in that case 😄

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that we should probably run this script when creating the Windows VMs.

  if (-not (Get-Command pwsh -ErrorAction SilentlyContinue)) {
    Write-Host "Installing PowerShell 7..."
    Invoke-WebRequest https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi -OutFile pwsh.msi
    Start-Process msiexec -ArgumentList "/i pwsh.msi /quiet /norestart" -Wait
    Remove-Item pwsh.msi
  } else {
    Write-Host "PowerShell 7 already installed"
  }

This would enable the pwsh feature. I can add these lines to the VM scripts in the doc so we update that the next time. In the meantime, we can use this and simplify the call after the machines generation. WDYT?

@NachoEchevarria NachoEchevarria marked this pull request as ready for review December 22, 2025 14:44
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner December 22, 2025 14:44
Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks, good idea 👍

I think the description is maybe not right though, because AFAICT, we're not using pwsh are we?

# GitHub now requires TLS1.2. In PowerShell, run the following
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-windows-x86_64.exe" -OutFile "${{ parameters.dockerComposePath }}"

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should look at ensuring we have pwsh installed on the agents in that case 😄

@NachoEchevarria
Copy link
Collaborator Author

Thanks, good idea 👍

I think the description is maybe not right though, because AFAICT, we're not using pwsh are we?

Right, thanks! I have updated the description

@NachoEchevarria NachoEchevarria merged commit 3179948 into master Dec 24, 2025
149 checks passed
@NachoEchevarria NachoEchevarria deleted the nacho/RetryOnConnectionErrors branch December 24, 2025 12:22
@github-actions github-actions bot added this to the vNext-v3 milestone Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages type:flake-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants