Remove ApmMiddleWare, only use DiagnosticSource listener for ASP.NET … #372
2469 passed, 1 failed and 83 skipped
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.CosmosDb.Tests.xml
21 tests were completed in 13s with 21 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Functions.Tests.xml
8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.ServiceBus.Tests.xml
24 tests were completed in 156s with 24 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Storage.Tests.xml
29 tests were completed in 4s with 29 passed, 0 failed and 0 skipped.
✔️ junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml
223 tests were completed in 777s with 220 passed, 0 failed and 3 skipped.
✔️ junit-startuphooks-linux-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml
12 tests were completed in 170s with 12 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml
1 tests were completed in 738ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
126 tests were completed in 139s with 119 passed, 0 failed and 7 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml
73 tests were completed in 75ms with 11 passed, 0 failed and 62 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Docker.Tests.xml
10 tests were completed in 24ms with 9 passed, 0 failed and 1 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Elasticsearch.Tests.xml
7 tests were completed in 2s with 3 passed, 0 failed and 4 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.EntityFrameworkCore.Tests.xml
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Extensions.Hosting.Tests.xml
5 tests were completed in 1s with 4 passed, 0 failed and 1 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Extensions.Logging.Tests.xml
1 tests were completed in 739ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Grpc.Tests.xml
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.MongoDb.Tests.xml
2 tests were completed in 2ms with 0 passed, 0 failed and 2 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml
11 tests were completed in 6s with 10 passed, 0 failed and 1 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.SqlClient.Tests.xml
7 tests were completed in 13s with 7 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml
3 tests were completed in 8s with 3 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml
1 tests were completed in 114ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml
1 tests were completed in 173ms with 1 passed, 0 failed and 0 skipped.
❌ junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
1975 tests were completed in 1000s with 1972 passed, 1 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Tests.dll | 1972✔️ | 1❌ | 2✖️ | 1000s |
❌ Elastic.Apm.Tests.dll
Elastic.Apm.Tests.HelpersTests.DbgInstanceNameGeneratorTests
Elastic.Apm.Tests.ErrorTests
Elastic.Apm.Tests.DroppedSpansStatsTests
Elastic.Apm.Tests.LogValuesFormatterTests
Elastic.Apm.Tests.HelpersTests.TimeExtensionsTests
Elastic.Apm.Tests.InstrumentationFlagTests
Elastic.Apm.Tests.ApiTests.UrlTests
Elastic.Apm.Tests.HelpersTests.ToStringBuilderTests
Elastic.Apm.Tests.ApiTests.DistributedTracingDataTests
Elastic.Apm.Tests.HelpersTests.UrlUtilsTests
Elastic.Apm.Tests.Cloud.AwsCloudMetadataProviderTests
Elastic.Apm.Tests.HelpersTests.DbgUtilsTests
Elastic.Apm.Tests.Utilities.MockAgentTimerTests
Elastic.Apm.Tests.TransactionIgnoreUrlsTests
Elastic.Apm.Tests.Config.ProfilerLogConfigTests
Elastic.Apm.Tests.HelpersTests.CollectionExtensionsTests
Elastic.Apm.Tests.BackendCommTests.BackendCommUtilsTests
Elastic.Apm.Tests.HelpersTests.CascadeFetcherTests
Elastic.Apm.Tests.HelpersTests.DbConnectionStringParserTests
Elastic.Apm.Tests.Cloud.AzureFunctionsMetadataProviderTests
Elastic.Apm.Tests.HelpersTests.PlatformDetectionTests
Elastic.Apm.Tests.SpanCompressionTests
Elastic.Apm.Tests.DbSpanNameTests
Elastic.Apm.Tests.LibrariesTests
Elastic.Apm.Tests.Cloud.AzureAppServiceMetadataProviderTests
Elastic.Apm.Tests.HelpersTests.AgentTimeInstantTests
Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests
Elastic.Apm.Tests.TestHelpers.TestingConfigTests
Elastic.Apm.Tests.SpanTests
Elastic.Apm.Tests.TransactionSamplingTests
Elastic.Apm.Tests.HelpersTests.IntExtensionsTests
Elastic.Apm.Tests.ApmServerInfoProviderTests
Elastic.Apm.Tests.BackendCommTests.ServiceActivationTests
Elastic.Apm.Tests.BasicAgentTests
Elastic.Apm.Tests.HelpersTests
Elastic.Apm.Tests.Cloud.GcpCloudMetadataProviderTests
Elastic.Apm.Tests.TestHelpers.RandomTestHelperTests
Elastic.Apm.Tests.ApiTests.ExitSpanTests
Elastic.Apm.Tests.DistributedTracing.TraceStateTests
Elastic.Apm.Tests.SamplerTests
Elastic.Apm.Tests.MetricsTests
Elastic.Apm.Tests.SystemInfoHelperTests
Elastic.Apm.Tests.Features.AgentFeaturesProviderTests
Elastic.Apm.Tests.Cloud.CloudMetadataProviderCollectionTests
Elastic.Apm.Tests.LabelTests
Elastic.Apm.Tests.Config.ConfigurationLoggingPreambleTests
Elastic.Apm.Tests.DistributedTracing.DistributedTracingTests
Elastic.Apm.Tests.HelpersTests.TextUtilsTests
Elastic.Apm.Tests.ConstructorTests
Elastic.Apm.Tests.WorkingLoopTests
Elastic.Apm.Tests.Metrics.FreeAndTotalMemoryProviderTests
Elastic.Apm.Tests.LoggerTests
Elastic.Apm.Tests.DiagnosticSource.DiagnosticListenerTests
Elastic.Apm.Tests.SpecTests
Elastic.Apm.Tests.TestHelpers.EnumerableTestExtensionsTests
Elastic.Apm.Tests.EnabledAndRecordingTests
Elastic.Apm.Tests.WildcardMatcherTests
Elastic.Apm.Tests.StackTraceTests
Elastic.Apm.Tests.HelpersTests.ObjectExtensionsTests
Elastic.Apm.Tests.HelpersTests.ContractExtensionsTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigFetcherTests
Elastic.Apm.Tests.HelpersTests.AgentSpinLockTests
Elastic.Apm.Tests.UnsampledTransactionTests
Elastic.Apm.Tests.ApiTests.ConvenientApiSpanTests
Elastic.Apm.Tests.HelpersTests.DisposableHelperTests
Elastic.Apm.Tests.HelpersTests.StringExtensionsTests
Elastic.Apm.Tests.Extensions.EnumerableExtensionsTests
Elastic.Apm.Tests.TestHelpers.TextUtilsTests
Elastic.Apm.Tests.ApiTests.ConvenientApiTransactionTests
Elastic.Apm.Tests.HelpersTests.TimeUtilsTests
Elastic.Apm.Tests.TestHelpers.MultiThreadsTestUtilsTests
Elastic.Apm.Tests.DistributedTracing.BaggageTests
Elastic.Apm.Tests.Extensions.EnvironmentVariablesExtensionsTests
Elastic.Apm.Tests.ActivityIntegrationTests
Elastic.Apm.Tests.HelpersTests.LazyContextualInitTests
Elastic.Apm.Tests.Config.ConfigTests
Elastic.Apm.Tests.ServiceResourceTest
Elastic.Apm.Tests.ExitSpanTests
Elastic.Apm.Tests.BreakdownTests
Elastic.Apm.Tests.ApiTests.CulpritTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigResponseParserTests
Elastic.Apm.Tests.ListExtensionsTests
Elastic.Apm.Tests.HelpersTests.AssertionTests
Elastic.Apm.Tests.ExitSpanMinDurationTests
Elastic.Apm.Tests.ApiTests.ApiTests
Elastic.Apm.Tests.HelpersTests.ExceptionUtilsTests
Elastic.Apm.Tests.SerializationTests
Elastic.Apm.Tests.Metrics.Linux.GlobalMemoryStatusTests
Elastic.Apm.Tests.ServerCertificateTests
Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
Elastic.Apm.Tests.Cloud.AzureCloudMetadataProviderTests
Elastic.Apm.Tests.FilterTests
Elastic.Apm.Tests.HelpersTests.AgentTimerTests
Elastic.Apm.Tests.HttpDiagnosticListenerTests
❌ HttpDiagnosticListenerTests.SubscriptionOnlyRegistersSpansDuringItsLifeTime
System.Net.Http.HttpRequestException : An error occurred while sending the request.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.
Annotations
Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.HttpDiagnosticListenerTests ► HttpDiagnosticListenerTests.SubscriptionOnlyRegistersSpansDuringItsLifeTime
Failed test found in:
junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
System.Net.Http.HttpRequestException : An error occurred while sending the request.
Raw output
System.Net.Http.HttpRequestException : An error occurred while sending the request.
---- System.IO.IOException : Unable to read data from the transport connection: Connection reset by peer.
-------- System.Net.Sockets.SocketException : Connection reset by peer
Stack Trace:
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Elastic.Apm.Tests.HttpDiagnosticListenerTests.SubscriptionOnlyRegistersSpansDuringItsLifeTime() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/Elastic.Apm.Tests/HttpDiagnosticListenerTests.cs:line 640
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
----- Inner Stack Trace -----