Skip to content

Demonstrate application-owned OpenTelemetry providers - #11525

Merged
Amaury Levé (Evangelink) merged 2 commits into
microsoft:dev/amauryleve/split-telemetry-resourcesfrom
Evangelink:dev/amauryleve/validate-telemetry-topology
Sep 25, 2026
Merged

Amaury Levé (Evangelink) merged 2 commits into
microsoft:dev/amauryleve/split-telemetry-resourcesfrom
Evangelink:dev/amauryleve/validate-telemetry-topology

Demonstrate custom telemetry interoperability

1bf7feb
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Sep 25, 2026 in 1h 9m 23s

Build #20260925.32 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 78,399 (99.57%)
  • Other: 334 (0.42%)
  • Total: 78,734
Code coverage

  • 176025 of 384629 blocks covered (45.76%)
  • 101810 of 227722 lines covered (44.71%)

Annotations

Check failure on line 0 in test/UnitTests/Microsoft.Testing.Extensions.UnitTests/OpenTelemetryProviderExtensionsTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/UnitTests/Microsoft.Testing.Extensions.UnitTests/OpenTelemetryProviderExtensionsTests.cs#L0

test/UnitTests/Microsoft.Testing.Extensions.UnitTests/OpenTelemetryProviderExtensionsTests.cs(0,1): error : AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider [net462]
Test method Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider threw exception:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Check failure on line 331 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L331

Affected-test execution failed with exit code 2.

Check failure on line 332 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L332

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider

Test method Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider threw exception:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
Raw output
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ContainsCore[T](Func`2 predicate, IEnumerable`1 collection, String assertMethodName, String message, String predicateExpression, String collectionExpression, Boolean shouldContain)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Contains[T](Func`2 predicate, IEnumerable`1 collection, String message, String predicateExpression, String collectionExpression)
   at Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.<AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider>d__13.MoveNext() in /_/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/OpenTelemetryProviderExtensionsTests.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Testing.Extensions.UnitTests.OpenTelemetryProviderExtensionsTests.<AddTestingPlatformDiagnostics_RawListenerObservesBuilderActivityWithoutProvider>d__13.MoveNext() in /_/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/OpenTelemetryProviderExtensionsTests.cs:line 391
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.<ExecuteInternalAsync>d__67.MoveNext()