Skip to content

Flaky CI tests issues that relating to dotMemory/dotTrace #2950

@filzrev

Description

@filzrev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions