Skip to content

Internalize SqlClient Instrumentation #1112

Internalize SqlClient Instrumentation

Internalize SqlClient Instrumentation #1112

GitHub Actions / Linux Tests Summary failed Aug 28, 2023 in 0s

2517 passed, 1 failed and 76 skipped

Tests failed

Report Passed Failed Skipped Time
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.CosmosDb.Tests.xml 21✔️ 31s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Functions.Tests.xml 8✔️ 2s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.ServiceBus.Tests.xml 24✔️ 197s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Storage.Tests.xml 29✔️ 10s
junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml 219✔️ 1❌ 3✖️ 1745s
junit-startuphooks-linux-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml 12✔️ 197s
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml 1✔️ 692ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml 170✔️ 76s
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml 11✔️ 62✖️ 94ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.Docker.Tests.xml 9✔️ 1✖️ 17ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.Elasticsearch.Tests.xml 3✔️ 4✖️ 3s
junit-unit-linux-NETCoreApp70-Elastic.Apm.EntityFrameworkCore.Tests.xml 6✔️ 2s
junit-unit-linux-NETCoreApp70-Elastic.Apm.Extensions.Hosting.Tests.xml 4✔️ 1✖️ 2s
junit-unit-linux-NETCoreApp70-Elastic.Apm.Extensions.Logging.Tests.xml 1✔️ 2s
junit-unit-linux-NETCoreApp70-Elastic.Apm.Grpc.Tests.xml 2✔️ 2s
junit-unit-linux-NETCoreApp70-Elastic.Apm.MongoDb.Tests.xml 2✔️ 252ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml 10✔️ 1✖️ 6s
junit-unit-linux-NETCoreApp70-Elastic.Apm.SqlClient.Tests.xml 7✔️ 7s
junit-unit-linux-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml 3✔️ 9s
junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml 1✔️ 195ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml 1✔️ 191ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml 1968✔️ 4✖️ 1856s
junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml 5✔️ 2s

✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.CosmosDb.Tests.xml

21 tests were completed in 31s 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 197s with 24 passed, 0 failed and 0 skipped.

✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Storage.Tests.xml

29 tests were completed in 10s with 29 passed, 0 failed and 0 skipped.

❌ junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml

223 tests were completed in 1745s with 219 passed, 1 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Elastic.Apm.Profiler.Managed.Tests.dll 219✔️ 1❌ 3✖️ 1745s

❌ Elastic.Apm.Profiler.Managed.Tests.dll

Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Methods.MethodTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckIncludeTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.TypesTupleTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.ValueType.ValueTypePropertyTests
Elastic.Apm.Profiler.Managed.Tests.ExcludeTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.SqliteCommandTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckExplicitInterfaceTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ReferenceType.ReferenceTypeFieldTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckTypeExtensionsTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.StructTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.TypeChaining.TypeChainingPropertyTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.ExceptionsTests
Elastic.Apm.Profiler.Managed.Tests.BasicTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.ReferenceType.ReferenceTypePropertyTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.TypeChaining.TypeChainingFieldTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckIgnoreTests
Elastic.Apm.Profiler.Managed.Tests.Continuations.TaskContinuationGeneratorTests
Elastic.Apm.Profiler.Managed.Tests.SatelliteAssemblyTests
Elastic.Apm.Profiler.Managed.Tests.Continuations.ValueTaskContinuationGeneratorTests
Elastic.Apm.Profiler.Managed.Tests.AspNetCore.AspNetCoreTests
Elastic.Apm.Profiler.Managed.Tests.Kafka.KafkaTests
  ❌ KafkaTests.CaptureAutoInstrumentedSpans(targetFramework: "net7.0")
	System.Net.Http.HttpRequestException : Error while copying content to a stream.
Elastic.Apm.Profiler.Managed.Tests.AdoNet.OracleManagedDataAccessCommandTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.NpgSqlCommandTests
Elastic.Apm.Profiler.Managed.Tests.RabbitMq.RabbitMqTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.SqlCommandTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.MySqlCommandTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.OracleManagedDataAccessCoreCommandTests

✔️ junit-startuphooks-linux-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml

12 tests were completed in 197s with 12 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml

1 tests were completed in 692ms with 1 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml

170 tests were completed in 76s with 170 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml

73 tests were completed in 94ms with 11 passed, 0 failed and 62 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Docker.Tests.xml

10 tests were completed in 17ms with 9 passed, 0 failed and 1 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Elasticsearch.Tests.xml

7 tests were completed in 3s 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 2s with 4 passed, 0 failed and 1 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Extensions.Logging.Tests.xml

1 tests were completed in 2s 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 252ms with 2 passed, 0 failed and 0 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 7s with 7 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml

3 tests were completed in 9s with 3 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml

1 tests were completed in 195ms with 1 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml

1 tests were completed in 191ms with 1 passed, 0 failed and 0 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml

1972 tests were completed in 1856s with 1968 passed, 0 failed and 4 skipped.

✔️ junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Annotations

Check failure on line 0 in junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.Kafka.KafkaTests ► KafkaTests.CaptureAutoInstrumentedSpans(targetFramework: "net7.0")

Failed test found in:
  junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
  System.Net.Http.HttpRequestException : Error while copying content to a stream.
Raw output
System.Net.Http.HttpRequestException : Error while copying content to a stream.
---- 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.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Docker.DotNet.DockerClient.PrivateMakeRequestAsync(TimeSpan timeout, HttpCompletionOption completionOption, HttpMethod method, String path, IQueryString queryString, IDictionary`2 headers, IRequestContent data, CancellationToken cancellationToken)
   at Docker.DotNet.DockerClient.MakeRequestAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken token)
   at DotNet.Testcontainers.Clients.TestcontainersClient.CopyFileAsync(String id, String filePath, Byte[] fileContent, Int32 accessMode, Int32 userId, Int32 groupId, CancellationToken ct)
   at DotNet.Testcontainers.Containers.DockerContainer.UnsafeStartAsync(CancellationToken ct)
   at DotNet.Testcontainers.Containers.DockerContainer.StartAsync(CancellationToken ct)
----- Inner Stack Trace -----
   at Microsoft.Net.Http.Client.ContentLengthReadStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
----- Inner Stack Trace -----
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ReceiveAsync(Socket socket, CancellationToken cancellationToken)
   at System.Net.Sockets.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at Microsoft.Net.Http.Client.BufferedReadStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at Microsoft.Net.Http.Client.ContentLengthReadStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.Net.Http.Client.ContentLengthReadStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at Microsoft.Net.Http.Client.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context)
   at System.Net.Http.HttpContent.LoadIntoBufferAsync(Int64 maxBufferSize, 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 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at Microsoft.Net.Http.Client.ManagedHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at Microsoft.Net.Http.Client.ManagedHandler.ProcessRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at Microsoft.Net.Http.Client.HttpConnection.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at Microsoft.Net.Http.Client.HttpConnection.ReadResponseLinesAsync(CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at Microsoft.Net.Http.Client.BufferedReadStream.ReadLineAsync(CancellationToken cancel)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at Microsoft.Net.Http.Client.BufferedReadStream.EnsureBufferedAsync(CancellationToken cancel)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)
   at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---