Skip to content

Support for MongoDB 3.5.0 #4563

@Kielek

Description

@Kielek

Tests are failing with MongoDB 3.5.0.
It should be possible to reproduce on local env as it repeats on all(?) environements.

 08:25:42 [ERR] [xUnit.net 00:10:01.66]     IntegrationTests.MongoDBTests.SubmitsTraces(packageVersion: "3.5.0") [FAIL]
  08:25:42 [DBG] [xUnit.net 00:10:01.66] IntegrationTests: --- FAIL: IntegrationTests.MongoDBTests.SubmitsTraces(3.5.0) (61.27s)
  08:25:42 [DBG] Data collector 'Blame' message: All tests finished running, Sequence file will not be generated.
  08:25:42 [DBG]   Failed IntegrationTests.MongoDBTests.SubmitsTraces(packageVersion: "3.5.0") [1 m 1 s]
  08:25:42 [DBG]   Error Message:
  08:25:42 [DBG]    
  08:25:42 [DBG] Missing expectations:
  08:25:42 [DBG]   - "<no description> Instrumentation Scope Name: 'OpenTelemetry.AutoInstrumentation.MongoDB', predicate is null: 'True'"
  08:25:42 [DBG]   - "<no description> Instrumentation Scope Name: 'OpenTelemetry.AutoInstrumentation.MongoDB', predicate is null: 'True'"
  08:25:42 [DBG]   - "<no description> Instrumentation Scope Name: 'OpenTelemetry.AutoInstrumentation.MongoDB', predicate is null: 'True'"
  08:25:42 [DBG]   - "<no description> Instrumentation Scope Name: 'OpenTelemetry.AutoInstrumentation.MongoDB', predicate is null: 'False'"
  08:25:42 [DBG] Entries meeting expectations:
  08:25:42 [DBG] Additional entries:
  08:25:42 [DBG] 
  08:25:42 [DBG]   Stack Trace:
  08:25:42 [DBG]      at IntegrationTests.Helpers.MockSpansCollector.FailExpectations(List`1 missingExpectations, List`1 expectationsMet, List`1 additionalEntries) in /home/runner/work/opentelemetry-dotnet-instrumentation/opentelemetry-dotnet-instrumentation/test/IntegrationTests/Helpers/MockSpansCollector.cs:line 181
  08:25:42 [DBG]    at IntegrationTests.Helpers.MockSpansCollector.AssertExpectations(Nullable`1 timeout) in /home/runner/work/opentelemetry-dotnet-instrumentation/opentelemetry-dotnet-instrumentation/test/IntegrationTests/Helpers/MockSpansCollector.cs:line 129
  08:25:42 [DBG]    at IntegrationTests.MongoDBTests.SubmitsTraces(String packageVersion) in /home/runner/work/opentelemetry-dotnet-instrumentation/opentelemetry-dotnet-instrumentation/test/IntegrationTests/MongoDBTests.cs:line 64
  08:25:42 [DBG]    at InvokeStub_MongoDBTests.SubmitsTraces(Object, Span`1)
  08:25:42 [DBG]    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  08:25:42 [DBG]   Standard Output Messages:
  08:25:42 [DBG]  Found profiler at /home/runner/work/opentelemetry-dotnet-instrumentation/opentelemetry-dotnet-instrumentation/bin/tracer-home/linux-arm64/OpenTelemetry.AutoInstrumentation.Native.so.
  08:25:42 [DBG]  Platform: arm64
  08:25:42 [DBG]  Configuration: Release
  08:25:42 [DBG]  TargetFramework: net9.0
  08:25:42 [DBG]  .NET Core: True
  08:25:42 [DBG]  Profiler DLL: /home/runner/work/opentelemetry-dotnet-instrumentation/opentelemetry-dotnet-instrumentation/bin/tracer-home/linux-arm64/OpenTelemetry.AutoInstrumentation.Native.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions