dotnet / dotnet/BenchmarkDotNet
Flaky CI tests issues that relating to dotMemory/dotTrace
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 1.1k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 11
Description
`DotMemorySmokeTest` and `DotTraceSmokeTest` are frequently failed on CI.
As far as I've confirmed it failed with following errors.
1. VSTest process crashed by unknown reason. (No exception is recorded)
2. Failed to download dependencies.
3. Failed with attach/detach timeout error. (Default: 30 seconds that can be customized with `UseCustomResponseTimeout`)
~~4. Failed with following exception~~
```
System.InvalidOperationException: The profiling session isn't active: forgot to call Attach()?
at JetBrains.Profiler.SelfApi.DotMemory.GetSnapshot(String name)
at BenchmarkDotNet.Diagnosers.SnapshotProfilerBase.Stop(ILogger logger) in /_/src/BenchmarkDotNet/Diagnosers/SnapshotProfilerBase.cs:line 144
```
Above exception occurred when failed with `2.` or `3.`
Contributor guide
Assessment
This issue has not been assessed yet.