Skip to content

OTel bridge enhancements #1119

OTel bridge enhancements

OTel bridge enhancements #1119

GitHub Actions / Linux Tests Summary failed Aug 30, 2023 in 1s

2512 passed, 6 failed and 76 skipped

Tests failed

Report Passed Failed Skipped Time
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.CosmosDb.Tests.xml 21✔️ 27s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Functions.Tests.xml 8✔️ 2s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.ServiceBus.Tests.xml 24✔️ 252s
junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Storage.Tests.xml 29✔️ 10s
junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml 220✔️ 3✖️ 1900s
junit-startuphooks-linux-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml 12✔️ 178s
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml 1✔️ 733ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml 170✔️ 80s
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml 11✔️ 62✖️ 78ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.Docker.Tests.xml 9✔️ 1✖️ 18ms
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✔️ 840ms
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 9✔️ 1❌ 1✖️ 6s
junit-unit-linux-NETCoreApp70-Elastic.Apm.SqlClient.Tests.xml 7✔️ 8s
junit-unit-linux-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml 3✔️ 10s
junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml 1✔️ 312ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml 1✔️ 207ms
junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml 1968✔️ 4✖️ 1729s
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 27s 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 252s 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 1900s with 220 passed, 0 failed and 3 skipped.

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

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

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

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

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

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

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

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

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

10 tests were completed in 18ms 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 840ms 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 9 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Elastic.Apm.OpenTelemetry.Tests.dll 9✔️ 1❌ 1✖️ 6s

❌ Elastic.Apm.OpenTelemetry.Tests.dll

Elastic.Apm.OpenTelemetry.Tests.OpenTelemetryTests
  ❌ OpenTelemetryTests.SpanKindTests
	Expected payloadSender.Spans.ElementAt(2).Type to be "external" with a length of 8, but "unknown" has a length of 7, differs near "unk" (index 0).

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

7 tests were completed in 8s with 7 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

❌ junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

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

Test suite Passed Failed Skipped Time
Elastic.Clients.Elasticsearch.Tests.dll 5❌ 2s

❌ Elastic.Clients.Elasticsearch.Tests.dll

Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests
  ❌ ElasticsearchTests.GetDocumentTest
	Expected payloadSender.Spans to contain 1 item(s), but found 2.
  ❌ ElasticsearchTests.DeleteDocumentTest
	Expected payloadSender.Spans to contain 1 item(s), but found 2.
  ❌ ElasticsearchTests.IndexDataTest
	Expected payloadSender.Spans to contain 1 item(s), but found 2.
  ❌ ElasticsearchTests.UpdateDocumentTest
	Expected payloadSender.Spans to contain 1 item(s), but found 2.
  ❌ ElasticsearchTests.SearchDocumentTest
	Expected payloadSender.Spans to contain 1 item(s), but found 2.

Annotations

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Apm.OpenTelemetry.Tests.dll ► Elastic.Apm.OpenTelemetry.Tests.OpenTelemetryTests ► OpenTelemetryTests.SpanKindTests

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml
Error:
  Expected payloadSender.Spans.ElementAt(2).Type to be "external" with a length of 8, but "unknown" has a length of 7, differs near "unk" (index 0).
Raw output
Expected payloadSender.Spans.ElementAt(2).Type to be "external" with a length of 8, but "unknown" has a length of 7, differs near "unk" (index 0).
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
   at Elastic.Apm.OpenTelemetry.Tests.OpenTelemetryTests.SpanKindTests() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/opentelemetry/Elastic.Apm.OpenTelemetry.Tests/OpenTelemetryTests.cs:line 137
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Clients.Elasticsearch.Tests.dll ► Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests ► ElasticsearchTests.GetDocumentTest

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
Error:
  Expected payloadSender.Spans to contain 1 item(s), but found 2.
Raw output
Expected payloadSender.Spans to contain 1 item(s), but found 2.
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.SelfReferencingCollectionAssertions`2.HaveCount(Int32 expected, String because, Object[] becauseArgs)
   at Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests.GetDocumentTest() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/ElasticsearchTests.cs:line 59
--- End of stack trace from previous location ---
Standard Output:
    [2023-08-30 15:21:54.717 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:54.720 +00:00][Info] - {ConfigurationStore} Elastic APM .NET Agent, version: 1.23.1-canary.0.8+53e7c4b11e8c93d1325468dae59367ad385c66c7
    [2023-08-30 15:21:54.721 +00:00][Info] - {ConfigurationStore} Process ID: 11085
    [2023-08-30 15:21:54.721 +00:00][Info] - {ConfigurationStore} Process Name: dotnet
    [2023-08-30 15:21:54.721 +00:00][Info] - {ConfigurationStore} Command line arguments: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/bin/Release/net7.0/testhost.dll, --port, 38313, --endpoint, 127.0.0.1:038313, --role, client, --parentprocessid, 11068, --telemetryoptedin, false'
    [2023-08-30 15:21:54.721 +00:00][Info] - {ConfigurationStore} Operating System: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
    [2023-08-30 15:21:54.722 +00:00][Info] - {ConfigurationStore} CPU architecture: X64
    [2023-08-30 15:21:54.722 +00:00][Info] - {ConfigurationStore} Host: fv-az717-754
    [2023-08-30 15:21:54.722 +00:00][Info] - {ConfigurationStore} Time zone: (UTC) Coordinated Universal Time
    [2023-08-30 15:21:54.722 +00:00][Info] - {ConfigurationStore} Runtime: .NET 7.0.10
    [2023-08-30 15:21:54.723 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:54.723 +00:00][Info] - {ConfigurationStore} Agent Configuration (via 'MockConfiguration (config provider: NullConfigurationKeyValueProvider environment provider: MockConfigurationEnvironmentProvider)'):
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}       Default->log_level: 'Error' (GetDefaultValueForLogging)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}       Default->server_url: 'http://127.0.0.1:8200/' (GetDefaultValueForLogging)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}       Default->service_name: 'xunit_execution_dotnet' (GetDefaultValueForLogging)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}       Default->service_version: '[NOT_PROVIDED]' (GetDefaultValueForLogging)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}   Environment->capture_body: 'off' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}   Environment->capture_body_content_types: 'application/x-www-form-urlencoded*, text/*, application/json*, application/xml*' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}   Environment->cloud_provider: 'none' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore}   Environment->opentelemetry_bridge_enabled: 'true' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:54.734 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:54.737 +00:00][Info] - {Service} Detected agent activation method: nuget
    [2023-08-30 15:21:54.743 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runner-provisioner.service
    [2023-08-30 15:21:54.743 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
    [2023-08-30 15:21:54.746 +00:00][Info] - Starting OpenTelemetry (Activity) bridge

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Clients.Elasticsearch.Tests.dll ► Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests ► ElasticsearchTests.DeleteDocumentTest

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
Error:
  Expected payloadSender.Spans to contain 1 item(s), but found 2.
Raw output
Expected payloadSender.Spans to contain 1 item(s), but found 2.
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.SelfReferencingCollectionAssertions`2.HaveCount(Int32 expected, String because, Object[] becauseArgs)
   at Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests.DeleteDocumentTest() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/ElasticsearchTests.cs:line 144
--- End of stack trace from previous location ---
Standard Output:
    [2023-08-30 15:21:55.002 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.002 +00:00][Info] - {ConfigurationStore} Elastic APM .NET Agent, version: 1.23.1-canary.0.8+53e7c4b11e8c93d1325468dae59367ad385c66c7
    [2023-08-30 15:21:55.002 +00:00][Info] - {ConfigurationStore} Process ID: 11085
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Process Name: dotnet
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Command line arguments: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/bin/Release/net7.0/testhost.dll, --port, 38313, --endpoint, 127.0.0.1:038313, --role, client, --parentprocessid, 11068, --telemetryoptedin, false'
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Operating System: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} CPU architecture: X64
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Host: fv-az717-754
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Time zone: (UTC) Coordinated Universal Time
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Runtime: .NET 7.0.10
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} Agent Configuration (via 'MockConfiguration (config provider: NullConfigurationKeyValueProvider environment provider: MockConfigurationEnvironmentProvider)'):
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}       Default->log_level: 'Error' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}       Default->server_url: 'http://127.0.0.1:8200/' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}       Default->service_name: 'xunit_execution_dotnet' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}       Default->service_version: '[NOT_PROVIDED]' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}   Environment->capture_body: 'off' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}   Environment->capture_body_content_types: 'application/x-www-form-urlencoded*, text/*, application/json*, application/xml*' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}   Environment->cloud_provider: 'none' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore}   Environment->opentelemetry_bridge_enabled: 'true' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.003 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.004 +00:00][Info] - {Service} Detected agent activation method: nuget
    [2023-08-30 15:21:55.005 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runner-provisioner.service
    [2023-08-30 15:21:55.005 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
    [2023-08-30 15:21:55.005 +00:00][Info] - Starting OpenTelemetry (Activity) bridge

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Clients.Elasticsearch.Tests.dll ► Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests ► ElasticsearchTests.IndexDataTest

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
Error:
  Expected payloadSender.Spans to contain 1 item(s), but found 2.
Raw output
Expected payloadSender.Spans to contain 1 item(s), but found 2.
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.SelfReferencingCollectionAssertions`2.HaveCount(Int32 expected, String because, Object[] becauseArgs)
   at Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests.IndexDataTest() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/ElasticsearchTests.cs:line 34
--- End of stack trace from previous location ---
Standard Output:
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Elastic APM .NET Agent, version: 1.23.1-canary.0.8+53e7c4b11e8c93d1325468dae59367ad385c66c7
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Process ID: 11085
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Process Name: dotnet
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Command line arguments: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/bin/Release/net7.0/testhost.dll, --port, 38313, --endpoint, 127.0.0.1:038313, --role, client, --parentprocessid, 11068, --telemetryoptedin, false'
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Operating System: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} CPU architecture: X64
    [2023-08-30 15:21:55.045 +00:00][Info] - {ConfigurationStore} Host: fv-az717-754
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore} Time zone: (UTC) Coordinated Universal Time
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore} Runtime: .NET 7.0.10
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore} Agent Configuration (via 'MockConfiguration (config provider: NullConfigurationKeyValueProvider environment provider: MockConfigurationEnvironmentProvider)'):
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}       Default->log_level: 'Error' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}       Default->server_url: 'http://127.0.0.1:8200/' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}       Default->service_name: 'xunit_execution_dotnet' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}       Default->service_version: '[NOT_PROVIDED]' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}   Environment->capture_body: 'off' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}   Environment->capture_body_content_types: 'application/x-www-form-urlencoded*, text/*, application/json*, application/xml*' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}   Environment->cloud_provider: 'none' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore}   Environment->opentelemetry_bridge_enabled: 'true' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.046 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.047 +00:00][Info] - {Service} Detected agent activation method: nuget
    [2023-08-30 15:21:55.051 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runner-provisioner.service
    [2023-08-30 15:21:55.051 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
    [2023-08-30 15:21:55.051 +00:00][Info] - Starting OpenTelemetry (Activity) bridge

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Clients.Elasticsearch.Tests.dll ► Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests ► ElasticsearchTests.UpdateDocumentTest

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
Error:
  Expected payloadSender.Spans to contain 1 item(s), but found 2.
Raw output
Expected payloadSender.Spans to contain 1 item(s), but found 2.
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.SelfReferencingCollectionAssertions`2.HaveCount(Int32 expected, String because, Object[] becauseArgs)
   at Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests.UpdateDocumentTest() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/ElasticsearchTests.cs:line 116
--- End of stack trace from previous location ---
Standard Output:
    [2023-08-30 15:21:55.204 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.204 +00:00][Info] - {ConfigurationStore} Elastic APM .NET Agent, version: 1.23.1-canary.0.8+53e7c4b11e8c93d1325468dae59367ad385c66c7
    [2023-08-30 15:21:55.204 +00:00][Info] - {ConfigurationStore} Process ID: 11085
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Process Name: dotnet
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Command line arguments: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/bin/Release/net7.0/testhost.dll, --port, 38313, --endpoint, 127.0.0.1:038313, --role, client, --parentprocessid, 11068, --telemetryoptedin, false'
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Operating System: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} CPU architecture: X64
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Host: fv-az717-754
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Time zone: (UTC) Coordinated Universal Time
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Runtime: .NET 7.0.10
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} Agent Configuration (via 'MockConfiguration (config provider: NullConfigurationKeyValueProvider environment provider: MockConfigurationEnvironmentProvider)'):
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}       Default->log_level: 'Error' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}       Default->server_url: 'http://127.0.0.1:8200/' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}       Default->service_name: 'xunit_execution_dotnet' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}       Default->service_version: '[NOT_PROVIDED]' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}   Environment->capture_body: 'off' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}   Environment->capture_body_content_types: 'application/x-www-form-urlencoded*, text/*, application/json*, application/xml*' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}   Environment->cloud_provider: 'none' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore}   Environment->opentelemetry_bridge_enabled: 'true' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.205 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.206 +00:00][Info] - {Service} Detected agent activation method: nuget
    [2023-08-30 15:21:55.207 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runner-provisioner.service
    [2023-08-30 15:21:55.207 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
    [2023-08-30 15:21:55.207 +00:00][Info] - Starting OpenTelemetry (Activity) bridge

Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml

See this annotation in the file changed.

@github-actions github-actions / Linux Tests Summary

Elastic.Clients.Elasticsearch.Tests.dll ► Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests ► ElasticsearchTests.SearchDocumentTest

Failed test found in:
  junit-unit-linux-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
Error:
  Expected payloadSender.Spans to contain 1 item(s), but found 2.
Raw output
Expected payloadSender.Spans to contain 1 item(s), but found 2.
Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.SelfReferencingCollectionAssertions`2.HaveCount(Int32 expected, String because, Object[] becauseArgs)
   at Elastic.Clients.Elasticsearch.Tests.ElasticsearchTests.SearchDocumentTest() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/ElasticsearchTests.cs:line 83
--- End of stack trace from previous location ---
Standard Output:
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Elastic APM .NET Agent, version: 1.23.1-canary.0.8+53e7c4b11e8c93d1325468dae59367ad385c66c7
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Process ID: 11085
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Process Name: dotnet
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Command line arguments: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/instrumentations/Elastic.Clients.Elasticsearch.Tests/bin/Release/net7.0/testhost.dll, --port, 38313, --endpoint, 127.0.0.1:038313, --role, client, --parentprocessid, 11068, --telemetryoptedin, false'
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Operating System: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} CPU architecture: X64
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Host: fv-az717-754
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Time zone: (UTC) Coordinated Universal Time
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Runtime: .NET 7.0.10
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore} Agent Configuration (via 'MockConfiguration (config provider: NullConfigurationKeyValueProvider environment provider: MockConfigurationEnvironmentProvider)'):
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore}       Default->log_level: 'Error' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.312 +00:00][Info] - {ConfigurationStore}       Default->server_url: 'http://127.0.0.1:8200/' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}       Default->service_name: 'xunit_execution_dotnet' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}       Default->service_version: '[NOT_PROVIDED]' (GetDefaultValueForLogging)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}   Environment->capture_body: 'off' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}   Environment->capture_body_content_types: 'application/x-www-form-urlencoded*, text/*, application/json*, application/xml*' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}   Environment->cloud_provider: 'none' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore}   Environment->opentelemetry_bridge_enabled: 'true' (MockConfigurationEnvironmentProvider)
    [2023-08-30 15:21:55.313 +00:00][Info] - {ConfigurationStore} ********************************************************************************
    [2023-08-30 15:21:55.314 +00:00][Info] - {Service} Detected agent activation method: nuget
    [2023-08-30 15:21:55.314 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runner-provisioner.service
    [2023-08-30 15:21:55.314 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
    [2023-08-30 15:21:55.314 +00:00][Info] - Starting OpenTelemetry (Activity) bridge