Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip the mass transit test to see if it solves flake issues #5861

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

andrewlock
Copy link
Member

Summary of changes

Skip the mass transit smoke test as it seems to be a cause of a lot of flakiness

Reason for change

We've seen a lot of errors in the CheckBuildlogsForErr stage:

CheckBuildLogsForErr: 03:08:39 [Error] An error occurred while sending data to the agent at http://127.0.0.1:39573/v0.4/traces. If the error isn't transient, please check https://docs.datadoghq.com/tracing/troubleshooting/connection_errors/?code-lang=dotnet for guidance. System.Net.Http.HttpRequestException: Error while copying content to a stream.

These seemed to get a lot worse after we disabled keep-alive, but that's anecdotal.

Implementation details

It's not entirely clear if the problem is just coincidentally related to the MassTransit test (i.e. it's a test ordering process) or if it's actually something about the test.

As a check I tried skipping the test in this branch and did 4 full (all TFM) integration tests runs, and didn't see the issue again. It's all still anecdotal, but rather trade off flakiness here. If the problem reappears subsequently, we can look into it again further.

Test coverage

Did 4 full runs, and didn't see the issue again

@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Aug 7, 2024
@andrewlock andrewlock requested a review from a team as a code owner August 7, 2024 15:56
@github-actions github-actions bot added the area:tests unit tests, integration tests label Aug 7, 2024
@andrewlock
Copy link
Member Author

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing the following branches/commits:

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 shown 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).

gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (76ms)  : 63, 90
     .   : milestone, 76,
    master - mean (74ms)  : 64, 84
     .   : milestone, 74,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (1,072ms)  : 1046, 1099
     .   : milestone, 1072,
    master - mean (1,063ms)  : 1041, 1084
     .   : milestone, 1063,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (110ms)  : 105, 115
     .   : milestone, 110,
    master - mean (110ms)  : 105, 115
     .   : milestone, 110,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (747ms)  : 727, 768
     .   : milestone, 747,
    master - mean (747ms)  : 727, 767
     .   : milestone, 747,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (92ms)  : 89, 95
     .   : milestone, 92,
    master - mean (92ms)  : 88, 96
     .   : milestone, 92,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (705ms)  : 681, 729
     .   : milestone, 705,
    master - mean (703ms)  : 684, 721
     .   : milestone, 703,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (193ms)  : 189, 197
     .   : milestone, 193,
    master - mean (192ms)  : 189, 196
     .   : milestone, 192,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (1,172ms)  : 1141, 1203
     .   : milestone, 1172,
    master - mean (1,169ms)  : 1139, 1200
     .   : milestone, 1169,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (277ms)  : 272, 281
     .   : milestone, 277,
    master - mean (275ms)  : 271, 280
     .   : milestone, 275,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (921ms)  : 896, 947
     .   : milestone, 921,
    master - mean (921ms)  : 896, 947
     .   : milestone, 921,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5861) - mean (267ms)  : 262, 271
     .   : milestone, 267,
    master - mean (266ms)  : 262, 270
     .   : milestone, 266,

    section CallTarget+Inlining+NGEN
    This PR (5861) - mean (908ms)  : 880, 936
     .   : milestone, 908,
    master - mean (905ms)  : 883, 928
     .   : milestone, 905,

Loading

@datadog-ddstaging
Copy link

datadog-ddstaging bot commented Aug 7, 2024

Datadog Report

Branch report: andrew/ci/skip-mass-transit
Commit report: 1ac4d52
Test service: dd-trace-dotnet

✅ 0 Failed, 364361 Passed, 2418 Skipped, 79h 32m 12.48s Total Time

@andrewlock
Copy link
Member Author

Benchmarks Report for tracer 🐌

Benchmarks for #5861 compared to master:

  • All benchmarks have the same speed
  • All benchmarks have the same allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 7.68μs 43.7ns 321ns 0.0113 0.00376 0 5.43 KB
master StartStopWithChild netcoreapp3.1 10μs 55.3ns 336ns 0.0282 0.0141 0 5.62 KB
master StartStopWithChild net472 15.9μs 51ns 197ns 1.02 0.306 0.0943 6.07 KB
#5861 StartStopWithChild net6.0 7.54μs 38.5ns 253ns 0.0176 0.00439 0 5.42 KB
#5861 StartStopWithChild netcoreapp3.1 9.69μs 52.5ns 287ns 0.0237 0.00946 0 5.62 KB
#5861 StartStopWithChild net472 15.9μs 39.6ns 148ns 1.01 0.295 0.0876 6.06 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 466μs 437ns 1.63μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 602μs 239ns 894ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 819μs 368ns 1.27μs 0.411 0 0 3.3 KB
#5861 WriteAndFlushEnrichedTraces net6.0 472μs 354ns 1.37μs 0 0 0 2.7 KB
#5861 WriteAndFlushEnrichedTraces netcoreapp3.1 659μs 432ns 1.67μs 0 0 0 2.7 KB
#5861 WriteAndFlushEnrichedTraces net472 837μs 404ns 1.46μs 0.417 0 0 3.3 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net6.0 207μs 1.19μs 9.71μs 0.221 0 0 18.45 KB
master SendRequest netcoreapp3.1 227μs 1.31μs 11.7μs 0.222 0 0 20.61 KB
master SendRequest net472 0ns 0ns 0ns 0 0 0 0 b
#5861 SendRequest net6.0 218μs 1.65μs 16.4μs 0.186 0 0 18.46 KB
#5861 SendRequest netcoreapp3.1 237μs 1.61μs 15.9μs 0.227 0 0 20.61 KB
#5861 SendRequest net472 0.00506ns 0.0017ns 0.00659ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 575μs 2.98μs 15.8μs 0.324 0 0 41.55 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 706μs 4.1μs 35.5μs 0.355 0 0 41.64 KB
master WriteAndFlushEnrichedTraces net472 852μs 3.55μs 13.7μs 8.45 2.53 0.422 53.3 KB
#5861 WriteAndFlushEnrichedTraces net6.0 623μs 4.31μs 43.1μs 0.587 0 0 41.73 KB
#5861 WriteAndFlushEnrichedTraces netcoreapp3.1 728μs 4.71μs 46.3μs 0.353 0 0 41.75 KB
#5861 WriteAndFlushEnrichedTraces net472 877μs 3.6μs 14.4μs 8.19 2.59 0.431 53.3 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net6.0 1.19μs 0.788ns 2.95ns 0.0143 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 1.73μs 1.42ns 5.1ns 0.0139 0 0 1.02 KB
master ExecuteNonQuery net472 2.11μs 2.45ns 9.48ns 0.156 0 0 987 B
#5861 ExecuteNonQuery net6.0 1.27μs 0.906ns 3.51ns 0.0145 0 0 1.02 KB
#5861 ExecuteNonQuery netcoreapp3.1 1.75μs 2.7ns 10.5ns 0.0131 0 0 1.02 KB
#5861 ExecuteNonQuery net472 1.98μs 3.55ns 13.8ns 0.156 0 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.1μs 0.69ns 2.67ns 0.0138 0 0 976 B
master CallElasticsearch netcoreapp3.1 1.52μs 0.89ns 3.45ns 0.0129 0 0 976 B
master CallElasticsearch net472 2.48μs 3.74ns 14.5ns 0.158 0 0 995 B
master CallElasticsearchAsync net6.0 1.17μs 0.661ns 2.47ns 0.0135 0 0 952 B
master CallElasticsearchAsync netcoreapp3.1 1.67μs 0.921ns 3.44ns 0.0132 0 0 1.02 KB
master CallElasticsearchAsync net472 2.72μs 3.46ns 13.4ns 0.167 0 0 1.05 KB
#5861 CallElasticsearch net6.0 1.22μs 0.508ns 1.9ns 0.0134 0 0 976 B
#5861 CallElasticsearch netcoreapp3.1 1.57μs 0.538ns 2.01ns 0.0135 0 0 976 B
#5861 CallElasticsearch net472 2.48μs 2.59ns 10ns 0.157 0 0 995 B
#5861 CallElasticsearchAsync net6.0 1.26μs 0.916ns 3.43ns 0.0132 0 0 952 B
#5861 CallElasticsearchAsync netcoreapp3.1 1.57μs 0.819ns 3.07ns 0.0135 0 0 1.02 KB
#5861 CallElasticsearchAsync net472 2.69μs 5.45ns 20.4ns 0.166 0 0 1.05 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net6.0 1.25μs 0.536ns 2.01ns 0.0131 0 0 952 B
master ExecuteAsync netcoreapp3.1 1.64μs 1.82ns 6.8ns 0.0123 0 0 952 B
master ExecuteAsync net472 1.72μs 0.559ns 2.17ns 0.145 0 0 915 B
#5861 ExecuteAsync net6.0 1.33μs 1.37ns 4.94ns 0.0133 0 0 952 B
#5861 ExecuteAsync netcoreapp3.1 1.66μs 0.661ns 2.47ns 0.0124 0 0 952 B
#5861 ExecuteAsync net472 1.82μs 1.93ns 7.2ns 0.145 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 4.2μs 1.91ns 6.88ns 0.0318 0 0 2.22 KB
master SendAsync netcoreapp3.1 5.09μs 3.22ns 12ns 0.0357 0 0 2.76 KB
master SendAsync net472 7.71μs 2.19ns 8.48ns 0.496 0 0 3.15 KB
#5861 SendAsync net6.0 4.2μs 1.33ns 4.81ns 0.0316 0 0 2.22 KB
#5861 SendAsync netcoreapp3.1 5.25μs 1.62ns 6.05ns 0.0368 0 0 2.76 KB
#5861 SendAsync net472 7.77μs 2.01ns 7.52ns 0.498 0 0 3.15 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 1.58μs 0.703ns 2.72ns 0.0227 0 0 1.64 KB
master EnrichedLog netcoreapp3.1 2.09μs 0.662ns 2.39ns 0.0215 0 0 1.64 KB
master EnrichedLog net472 2.69μs 1.28ns 4.95ns 0.249 0 0 1.57 KB
#5861 EnrichedLog net6.0 1.48μs 1.59ns 5.95ns 0.0229 0 0 1.64 KB
#5861 EnrichedLog netcoreapp3.1 2.2μs 1.64ns 5.92ns 0.0221 0 0 1.64 KB
#5861 EnrichedLog net472 2.66μs 1.27ns 4.94ns 0.249 0 0 1.57 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 114μs 203ns 786ns 0.0565 0 0 4.28 KB
master EnrichedLog netcoreapp3.1 119μs 314ns 1.22μs 0.0592 0 0 4.28 KB
master EnrichedLog net472 147μs 134ns 518ns 0.663 0.221 0 4.46 KB
#5861 EnrichedLog net6.0 115μs 242ns 938ns 0.0575 0 0 4.28 KB
#5861 EnrichedLog netcoreapp3.1 119μs 176ns 660ns 0.0598 0 0 4.28 KB
#5861 EnrichedLog net472 150μs 176ns 680ns 0.683 0.228 0 4.46 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 3.11μs 0.98ns 3.67ns 0.0311 0 0 2.2 KB
master EnrichedLog netcoreapp3.1 4.24μs 1.39ns 5.2ns 0.0298 0 0 2.2 KB
master EnrichedLog net472 4.69μs 0.957ns 3.71ns 0.321 0 0 2.02 KB
#5861 EnrichedLog net6.0 2.89μs 1.08ns 4.05ns 0.0304 0 0 2.2 KB
#5861 EnrichedLog netcoreapp3.1 4.24μs 1.98ns 7.66ns 0.0295 0 0 2.2 KB
#5861 EnrichedLog net472 4.86μs 1.26ns 4.89ns 0.321 0 0 2.02 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net6.0 1.43μs 0.74ns 2.77ns 0.0163 0 0 1.14 KB
master SendReceive netcoreapp3.1 1.7μs 0.647ns 2.51ns 0.0152 0 0 1.14 KB
master SendReceive net472 2.06μs 1.18ns 4.55ns 0.183 0.00103 0 1.16 KB
#5861 SendReceive net6.0 1.41μs 1.38ns 5.36ns 0.0162 0 0 1.14 KB
#5861 SendReceive netcoreapp3.1 1.84μs 0.83ns 3.21ns 0.0148 0 0 1.14 KB
#5861 SendReceive net472 2.14μs 1.45ns 5.41ns 0.184 0.00107 0 1.16 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 2.73μs 0.984ns 3.68ns 0.0218 0 0 1.6 KB
master EnrichedLog netcoreapp3.1 3.86μs 1.92ns 7.17ns 0.0213 0 0 1.65 KB
master EnrichedLog net472 4.47μs 5.13ns 19.9ns 0.322 0 0 2.04 KB
#5861 EnrichedLog net6.0 2.74μs 2.15ns 8.05ns 0.0219 0 0 1.6 KB
#5861 EnrichedLog netcoreapp3.1 4.08μs 3.1ns 12ns 0.0205 0 0 1.65 KB
#5861 EnrichedLog net472 4.42μs 3.67ns 14.2ns 0.322 0 0 2.04 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 403ns 0.137ns 0.511ns 0.0081 0 0 576 B
master StartFinishSpan netcoreapp3.1 610ns 1.01ns 3.89ns 0.00766 0 0 576 B
master StartFinishSpan net472 664ns 0.661ns 2.56ns 0.0917 0 0 578 B
master StartFinishScope net6.0 496ns 0.0885ns 0.331ns 0.00973 0 0 696 B
master StartFinishScope netcoreapp3.1 755ns 0.391ns 1.51ns 0.00946 0 0 696 B
master StartFinishScope net472 902ns 1.23ns 4.75ns 0.104 0 0 658 B
#5861 StartFinishSpan net6.0 417ns 0.623ns 2.41ns 0.00809 0 0 576 B
#5861 StartFinishSpan netcoreapp3.1 650ns 1.38ns 5.35ns 0.00786 0 0 576 B
#5861 StartFinishSpan net472 686ns 3.31ns 13.2ns 0.0916 0 0 578 B
#5861 StartFinishScope net6.0 481ns 0.169ns 0.608ns 0.00982 0 0 696 B
#5861 StartFinishScope netcoreapp3.1 731ns 1.17ns 4.53ns 0.0095 0 0 696 B
#5861 StartFinishScope net472 839ns 1.47ns 5.5ns 0.104 0 0 658 B
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net6.0 665ns 0.496ns 1.92ns 0.0097 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 994ns 0.912ns 3.53ns 0.00949 0 0 696 B
master RunOnMethodBegin net472 1.1μs 0.315ns 1.22ns 0.105 0 0 658 B
#5861 RunOnMethodBegin net6.0 662ns 0.277ns 1.07ns 0.00959 0 0 696 B
#5861 RunOnMethodBegin netcoreapp3.1 954ns 0.544ns 2.11ns 0.00933 0 0 696 B
#5861 RunOnMethodBegin net472 1.14μs 0.259ns 0.971ns 0.104 0 0 658 B

Copy link
Contributor

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

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

👍

@andrewlock
Copy link
Member Author

Throughput/Crank Report ⚡

Throughput results for AspNetCoreSimpleController comparing the following branches/commits:

Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red.

Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards!

gantt
    title Throughput Linux x64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (5861) (11.540M)   : 0, 11540096
    master (11.971M)   : 0, 11971108
    benchmarks/2.9.0 (11.513M)   : 0, 11512780

    section Automatic
    This PR (5861) (7.825M)   : 0, 7824502
    master (8.005M)   : 0, 8004518
    benchmarks/2.9.0 (8.207M)   : 0, 8206882

    section Trace stats
    master (8.370M)   : 0, 8370086

    section Manual
    master (11.695M)   : 0, 11695259

    section Manual + Automatic
    This PR (5861) (7.198M)   : 0, 7197793
    master (7.432M)   : 0, 7431601

    section DD_TRACE_ENABLED=0
    master (11.039M)   : 0, 11038724

Loading
gantt
    title Throughput Linux arm64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (5861) (9.549M)   : 0, 9549349
    benchmarks/2.9.0 (9.495M)   : 0, 9494663

    section Automatic
    This PR (5861) (6.575M)   : 0, 6575354

    section Manual + Automatic
    This PR (5861) (6.241M)   : 0, 6240835

Loading
gantt
    title Throughput Windows x64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (5861) (10.209M)   : 0, 10208988
    master (10.190M)   : 0, 10189702

    section Automatic
    This PR (5861) (6.900M)   : 0, 6900477
    master (6.990M)   : 0, 6989682

    section Trace stats
    master (7.429M)   : 0, 7429126

    section Manual
    master (10.143M)   : 0, 10143331

    section Manual + Automatic
    This PR (5861) (6.549M)   : 0, 6549419
    master (6.505M)   : 0, 6505005

    section DD_TRACE_ENABLED=0
    master (9.617M)   : 0, 9617462

Loading

@andrewlock andrewlock merged commit 0261bd2 into master Aug 8, 2024
57 of 60 checks passed
@andrewlock andrewlock deleted the andrew/ci/skip-mass-transit branch August 8, 2024 10:16
@github-actions github-actions bot added this to the vNext-v3 milestone Aug 8, 2024
andrewlock added a commit that referenced this pull request Aug 16, 2024
## Summary of changes

Skip the mass transit smoke test as it seems to be a cause of a lot of
flakiness

## Reason for change

We've seen a lot of errors in the `CheckBuildlogsForErr` stage:

```
CheckBuildLogsForErr: 03:08:39 [Error] An error occurred while sending data to the agent at http://127.0.0.1:39573/v0.4/traces. If the error isn't transient, please check https://docs.datadoghq.com/tracing/troubleshooting/connection_errors/?code-lang=dotnet for guidance. System.Net.Http.HttpRequestException: Error while copying content to a stream.
```

These seemed to get a lot worse after we disabled keep-alive, but that's
anecdotal.

## Implementation details

It's not entirely clear if the problem is just coincidentally related to
the MassTransit test (i.e. it's a test ordering process) or if it's
actually something about the test.

As a check I tried skipping the test in this branch and did 4 full (all
TFM) integration tests runs, and didn't see the issue again. It's all
still anecdotal, but rather trade off flakiness here. If the problem
reappears subsequently, we can look into it again further.

## Test coverage

Did 4 full runs, and didn't see the issue again
andrewlock added a commit that referenced this pull request Aug 16, 2024
… v2) (#5911)

## Summary of changes

Skip the mass transit smoke test as it seems to be a cause of a lot of
flakiness

## Reason for change

We've seen a lot of errors in the `CheckBuildlogsForErr` stage:

```
CheckBuildLogsForErr: 03:08:39 [Error] An error occurred while sending data to the agent at http://127.0.0.1:39573/v0.4/traces. If the error isn't transient, please check https://docs.datadoghq.com/tracing/troubleshooting/connection_errors/?code-lang=dotnet for guidance. System.Net.Http.HttpRequestException: Error while copying content to a stream.
```

These seemed to get a lot worse after we disabled keep-alive, but that's
anecdotal.

## Implementation details

It's not entirely clear if the problem is just coincidentally related to
the MassTransit test (i.e. it's a test ordering process) or if it's
actually something about the test.

As a check I tried skipping the test in this branch and did 4 full (all
TFM) integration tests runs, and didn't see the issue again. It's all
still anecdotal, but rather trade off flakiness here. If the problem
reappears subsequently, we can look into it again further.

## Test coverage

Did 4 full runs, and didn't see the issue again

## Other details

Backport of #5861 (as still getting a lot of flake on the release/2.x
branch)
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 area:tests unit tests, integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants