Closed andrewlock closed 1 day ago
Branch report: andrew/ci/fix-flaky-test
Commit report: 118f832
Test service: dd-trace-dotnet
:white_check_mark: 0 Failed, 342872 Passed, 1630 Skipped, 15h 54m 8.49s Total Time :snowflake: 4 New Flaky :hourglass: 1 Performance Regression
NoExceptions
- Datadog.Trace.ClrProfiler.IntegrationTests.SmokeTests.AssemblyResolveMscorlibResourcesInfiniteRecursionCrashSmokeTest
- Last Failure
TestSecurity
- Datadog.Trace.Security.IntegrationTests.AspNetCore5ExternalRules
- Last Failure
TestCustomRules
- Datadog.Trace.Security.IntegrationTests.Rcm.AspNetCore5AsmCustomRules
- Last Failure
RunTest
- Datadog.Trace.Security.IntegrationTests.Rcm.AspNetCore5AsmDataSecurityEnabledBlockingRequestIp
- Last Failure
ExecuteNonQuery
- Benchmarks.Trace.DbCommandBenchmark
1.73µs (+236ns, +16%) - DetailsExecution-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:
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 (5753) - mean (73ms) : 63, 83
. : milestone, 73,
master - mean (74ms) : 63, 85
. : milestone, 74,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (901ms) : 877, 925
. : milestone, 901,
master - mean (897ms) : 875, 918
. : milestone, 897,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5753) - mean (109ms) : 106, 112
. : milestone, 109,
master - mean (109ms) : 106, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (635ms) : 619, 651
. : milestone, 635,
master - mean (633ms) : 618, 648
. : milestone, 633,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5753) - mean (92ms) : 90, 95
. : milestone, 92,
master - mean (93ms) : 88, 98
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (594ms) : 578, 610
. : milestone, 594,
master - mean (590ms) : 576, 604
. : milestone, 590,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5753) - mean (191ms) : 188, 194
. : milestone, 191,
master - mean (190ms) : 188, 193
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (1,011ms) : 967, 1055
. : milestone, 1011,
master - mean (999ms) : 974, 1024
. : milestone, 999,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5753) - mean (277ms) : 272, 282
. : milestone, 277,
master - mean (275ms) : 271, 279
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (822ms) : 796, 849
. : milestone, 822,
master - mean (819ms) : 788, 850
. : milestone, 819,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5753) - mean (265ms) : 261, 269
. : milestone, 265,
master - mean (264ms) : 259, 270
. : milestone, 264,
section CallTarget+Inlining+NGEN
This PR (5753) - mean (802ms) : 773, 830
. : milestone, 802,
master - mean (806ms) : 771, 841
. : milestone, 806,
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 (5753) (11.919M) : 0, 11918603
master (11.677M) : 0, 11677397
benchmarks/2.9.0 (12.049M) : 0, 12048905
section Automatic
This PR (5753) (8.049M) : 0, 8048664
master (8.003M) : 0, 8002548
benchmarks/2.9.0 (8.464M) : 0, 8463997
section Trace stats
master (8.385M) : 0, 8385236
section Manual
This PR (5753) (10.393M) : 0, 10393378
master (10.236M) : 0, 10235956
section Manual + Automatic
This PR (5753) (7.567M) : 0, 7567320
master (7.643M) : 0, 7642546
section Version Conflict
master (6.845M) : 0, 6844774
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5753) (9.396M) : 0, 9396084
master (9.249M) : 0, 9249240
benchmarks/2.9.0 (9.590M) : 0, 9590349
section Automatic
This PR (5753) (6.428M) : 0, 6428102
master (6.453M) : 0, 6452929
section Trace stats
master (6.927M) : 0, 6927474
section Manual
This PR (5753) (8.260M) : 0, 8260425
master (8.377M) : 0, 8377082
section Manual + Automatic
This PR (5753) (6.174M) : 0, 6173951
master (6.153M) : 0, 6152556
section Version Conflict
master (5.443M) : 0, 5442500
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5753) (10.304M) : 0, 10304264
master (10.168M) : 0, 10168297
benchmarks/2.9.0 (10.465M) : 0, 10465033
section Automatic
This PR (5753) (7.108M) : 0, 7107961
master (7.084M) : 0, 7084082
benchmarks/2.9.0 (7.635M) : 0, 7635248
section Trace stats
master (7.631M) : 0, 7631490
section Manual
This PR (5753) (8.781M) : 0, 8781368
master (8.759M) : 0, 8759048
section Manual + Automatic
This PR (5753) (6.806M) : 0, 6806166
master (6.830M) : 0, 6830341
section Version Conflict
master (6.324M) : 0, 6324082
Benchmarks for #5753 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored.
Summary of changes
Skip flaky test on .NET Core 2.1 in more scenarios
Reason for change
The
DirectoryInfo.GetDirectories()
call in this CI Visibility test flakes due to a bug in the BCL on .NET Core 2.1. We already catch and ignore manifestation, this ignores another one.Implementation details
Ignore
IndexOutOfRangeException
as well asNullReferenceException
.Stack trace showing the issue
``` System.IndexOutOfRangeException : Index was outside the bounds of the array. at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext() at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at System.IO.DirectoryInfo.GetDirectories(String searchPattern, EnumerationOptions enumerationOptions) at System.IO.DirectoryInfo.GetDirectories() at ICSharpCode.Decompiler.Metadata.DotNetCorePathFinder.GetClosestVersionFolder(String basePath, Version version) at ICSharpCode.Decompiler.Metadata.DotNetCorePathFinder.TryResolveDotNetCoreShared(IAssemblyReference name, String& runtimePack) at ICSharpCode.Decompiler.Metadata.DotNetCorePathFinder.TryResolveDotNetCore(IAssemblyReference name) at ICSharpCode.Decompiler.Metadata.UniversalAssemblyResolver.FindAssemblyFile(IAssemblyReference name) at ICSharpCode.Decompiler.Metadata.UniversalAssemblyResolver.Resolve(IAssemblyReference name) at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) --- End of stack trace from previous location where exception was thrown --- at ICSharpCode.Decompiler.TypeSystem.DecompilerTypeSystem..ctor(PEFile mainModule, IAssemblyResolver assemblyResolver, TypeSystemOptions typeSystemOptions) at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.CreateTypeSystemFromFile(String fileName, DecompilerSettings settings) at Datadog.Trace.Tools.Runner.Tests.CoverageRewriteTests.NoFilter(String coverageMode) in D:\a\1\s\tracer\test\Datadog.Trace.Tools.Runner.Tests\CoverageRewriteTests.cs:line 140 ```
Test coverage
N/A
Other details