Ensure baggage gets copied with baggage prefix #350
2519 passed, 4 failed and 74 skipped
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.CosmosDb.Tests.xml
21 tests were completed in 18s with 21 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Functions.Tests.xml
8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.ServiceBus.Tests.xml
24 tests were completed in 158s with 24 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp70-Elastic.Apm.Azure.Storage.Tests.xml
29 tests were completed in 2s with 29 passed, 0 failed and 0 skipped.
✔️ junit-profiler-linux-NETCoreApp70-Elastic.Apm.Profiler.Managed.Tests.xml
223 tests were completed in 807s with 220 passed, 0 failed and 3 skipped.
✔️ junit-startuphooks-linux-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml
12 tests were completed in 168s with 12 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml
1 tests were completed in 609ms with 1 passed, 0 failed and 0 skipped.
❌ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
170 tests were completed in 92s with 168 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.AspNetCore.Tests.dll | 168✔️ | 2❌ | 92s |
❌ Elastic.Apm.AspNetCore.Tests.dll
Elastic.Apm.AspNetCore.Tests.ApmMiddlewareExtensionTest
Elastic.Apm.AspNetCore.Tests.AspNetCoreLoggerTests
Elastic.Apm.AspNetCore.Tests.ApmConfigurationTests
Elastic.Apm.AspNetCore.Tests.ApmConfigurationIntegrationTests
Elastic.Apm.AspNetCore.Tests.AspNetCoreBasicTests
Elastic.Apm.AspNetCore.Tests.AspNetCoreDiagnosticListenerTest
Elastic.Apm.AspNetCore.Tests.BaggageAspNetCoreTests
❌ BaggageAspNetCoreTests.AccessBaggageFromUpstream
Expected _payloadSender1.FirstTransaction.Otel.Attributes {[baggage.key1, value1], [baggage.key2, value2], [baggage.key3, value3]} to contain key "key1".
❌ BaggageAspNetCoreTests.MultipleServices
Expected _payloadSender2.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
Elastic.Apm.AspNetCore.Tests.BodyCapturingTests
Elastic.Apm.AspNetCore.Tests.CaptureUserTest
Elastic.Apm.AspNetCore.Tests.DiagnosticListenerTests
Elastic.Apm.AspNetCore.Tests.DistributedTracingAspNetCoreTests
Elastic.Apm.AspNetCore.Tests.FailedRequestTests
Elastic.Apm.AspNetCore.Tests.SanitizeFieldNamesTests
Elastic.Apm.AspNetCore.Tests.TraceIdWithActivityTests
Elastic.Apm.AspNetCore.Tests.TransactionExtensionTests
Elastic.Apm.AspNetCore.Tests.TransactionIgnoreUrlsTest
Elastic.Apm.AspNetCore.Tests.TransactionNameTests
Elastic.Apm.AspNetCore.Tests.TransactionQueueTests
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml
73 tests were completed in 88ms 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 2s with 3 passed, 0 failed and 4 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.EntityFrameworkCore.Tests.xml
6 tests were completed in 1s 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 997ms 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 418ms 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 12s 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 213ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-linux-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml
1 tests were completed in 220ms with 1 passed, 0 failed and 0 skipped.
❌ junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
1975 tests were completed in 1092s with 1971 passed, 2 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Tests.dll | 1971✔️ | 2❌ | 2✖️ | 1092s |
❌ Elastic.Apm.Tests.dll
Elastic.Apm.Tests.ApiTests.ConvenientApiSpanTests
Elastic.Apm.Tests.ApiTests.ExitSpanTests
Elastic.Apm.Tests.SpanCompressionTests
Elastic.Apm.Tests.BackendCommTests.BackendCommUtilsTests
Elastic.Apm.Tests.BackendCommTests.ServiceActivationTests
Elastic.Apm.Tests.StackTraceTests
Elastic.Apm.Tests.WildcardMatcherTests
Elastic.Apm.Tests.ErrorTests
Elastic.Apm.Tests.HelpersTests.LazyContextualInitTests
Elastic.Apm.Tests.HelpersTests.StringExtensionsTests
Elastic.Apm.Tests.HelpersTests.PlatformDetectionTests
Elastic.Apm.Tests.HelpersTests.ToStringBuilderTests
Elastic.Apm.Tests.HelpersTests.DbgUtilsTests
Elastic.Apm.Tests.HelpersTests.CollectionExtensionsTests
Elastic.Apm.Tests.ApiTests.CulpritTests
Elastic.Apm.Tests.TestHelpers.TestingConfigTests
Elastic.Apm.Tests.Metrics.Linux.GlobalMemoryStatusTests
Elastic.Apm.Tests.ApiTests.UrlTests
Elastic.Apm.Tests.HelpersTests.UrlUtilsTests
Elastic.Apm.Tests.SerializationTests
Elastic.Apm.Tests.SpanTests
Elastic.Apm.Tests.Config.ConfigTests
Elastic.Apm.Tests.HelpersTests.TimeUtilsTests
Elastic.Apm.Tests.DbSpanNameTests
Elastic.Apm.Tests.Extensions.EnumerableExtensionsTests
Elastic.Apm.Tests.HelpersTests.DbgInstanceNameGeneratorTests
Elastic.Apm.Tests.ApiTests.DistributedTracingDataTests
Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests
Elastic.Apm.Tests.HelpersTests.ObjectExtensionsTests
Elastic.Apm.Tests.EnabledAndRecordingTests
Elastic.Apm.Tests.Metrics.FreeAndTotalMemoryProviderTests
Elastic.Apm.Tests.HelpersTests.AgentTimeInstantTests
Elastic.Apm.Tests.Config.ConfigurationLoggingPreambleTests
Elastic.Apm.Tests.BreakdownTests
Elastic.Apm.Tests.HelpersTests.DisposableHelperTests
Elastic.Apm.Tests.TestHelpers.MultiThreadsTestUtilsTests
Elastic.Apm.Tests.TestHelpers.RandomTestHelperTests
Elastic.Apm.Tests.HelpersTests.AgentSpinLockTests
Elastic.Apm.Tests.TransactionSamplingTests
Elastic.Apm.Tests.HelpersTests.ContractExtensionsTests
Elastic.Apm.Tests.ServiceResourceTest
Elastic.Apm.Tests.ListExtensionsTests
Elastic.Apm.Tests.HelpersTests
Elastic.Apm.Tests.TestHelpers.TextUtilsTests
Elastic.Apm.Tests.HelpersTests.AssertionTests
Elastic.Apm.Tests.ExitSpanTests
Elastic.Apm.Tests.ApmServerInfoProviderTests
Elastic.Apm.Tests.ApiTests.ApiTests
Elastic.Apm.Tests.UnsampledTransactionTests
Elastic.Apm.Tests.HelpersTests.CascadeFetcherTests
Elastic.Apm.Tests.TestHelpers.EnumerableTestExtensionsTests
Elastic.Apm.Tests.HelpersTests.IntExtensionsTests
Elastic.Apm.Tests.Extensions.EnvironmentVariablesExtensionsTests
Elastic.Apm.Tests.DistributedTracing.TraceStateTests
Elastic.Apm.Tests.HelpersTests.TimeExtensionsTests
Elastic.Apm.Tests.Utilities.MockAgentTimerTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigResponseParserTests
Elastic.Apm.Tests.LogValuesFormatterTests
Elastic.Apm.Tests.HelpersTests.ExceptionUtilsTests
Elastic.Apm.Tests.LabelTests
Elastic.Apm.Tests.SamplerTests
Elastic.Apm.Tests.LoggerTests
Elastic.Apm.Tests.Cloud.AzureFunctionsMetadataProviderTests
Elastic.Apm.Tests.Config.ProfilerLogConfigTests
Elastic.Apm.Tests.HelpersTests.DbConnectionStringParserTests
Elastic.Apm.Tests.ApiTests.ConvenientApiTransactionTests
Elastic.Apm.Tests.InstrumentationFlagTests
Elastic.Apm.Tests.DistributedTracing.BaggageTests
❌ BaggageTests.CaptureBaggageWithNonDefaultConfig
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
❌ BaggageTests.CaptureBaggageWithDefaultConfig
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
Elastic.Apm.Tests.Cloud.AzureAppServiceMetadataProviderTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigFetcherTests
Elastic.Apm.Tests.DistributedTracing.DistributedTracingTests
Elastic.Apm.Tests.Cloud.AwsCloudMetadataProviderTests
Elastic.Apm.Tests.TransactionIgnoreUrlsTests
Elastic.Apm.Tests.MetricsTests
Elastic.Apm.Tests.SystemInfoHelperTests
Elastic.Apm.Tests.Features.AgentFeaturesProviderTests
Elastic.Apm.Tests.Cloud.CloudMetadataProviderCollectionTests
Elastic.Apm.Tests.ConstructorTests
Elastic.Apm.Tests.HelpersTests.TextUtilsTests
Elastic.Apm.Tests.DiagnosticSource.DiagnosticListenerTests
Elastic.Apm.Tests.BasicAgentTests
Elastic.Apm.Tests.WorkingLoopTests
Elastic.Apm.Tests.LibrariesTests
Elastic.Apm.Tests.SpecTests
Elastic.Apm.Tests.ActivityIntegrationTests
Elastic.Apm.Tests.ExitSpanMinDurationTests
Elastic.Apm.Tests.DroppedSpansStatsTests
Elastic.Apm.Tests.ServerCertificateTests
Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
Elastic.Apm.Tests.Cloud.AzureCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.GcpCloudMetadataProviderTests
Elastic.Apm.Tests.FilterTests
Elastic.Apm.Tests.HelpersTests.AgentTimerTests
Elastic.Apm.Tests.HttpDiagnosticListenerTests
✔️ 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.AspNetCore.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.AspNetCore.Tests.dll ► Elastic.Apm.AspNetCore.Tests.BaggageAspNetCoreTests ► BaggageAspNetCoreTests.AccessBaggageFromUpstream
Failed test found in:
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
Error:
Expected _payloadSender1.FirstTransaction.Otel.Attributes {[baggage.key1, value1], [baggage.key2, value2], [baggage.key3, value3]} to contain key "key1".
Raw output
Expected _payloadSender1.FirstTransaction.Otel.Attributes {[baggage.key1, value1], [baggage.key2, value2], [baggage.key3, value3]} to contain key "key1".
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.Collections.GenericDictionaryAssertions`2.Contain(IEnumerable`1 expected, String because, Object[] becauseArgs)
at FluentAssertions.Collections.GenericDictionaryAssertions`2.Contain(KeyValuePair`2[] expected)
at Elastic.Apm.AspNetCore.Tests.BaggageAspNetCoreTests.AccessBaggageFromUpstream() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/integrations/Elastic.Apm.AspNetCore.Tests/BaggageAspNetCoreTests.cs:line 38
--- End of stack trace from previous location ---
Check failure on line 0 in junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.AspNetCore.Tests.dll ► Elastic.Apm.AspNetCore.Tests.BaggageAspNetCoreTests ► BaggageAspNetCoreTests.MultipleServices
Failed test found in:
junit-unit-linux-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
Error:
Expected _payloadSender2.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
Raw output
Expected _payloadSender2.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
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.Collections.GenericDictionaryAssertions`2.Contain(IEnumerable`1 expected, String because, Object[] becauseArgs)
at FluentAssertions.Collections.GenericDictionaryAssertions`2.Contain(KeyValuePair`2[] expected)
at Elastic.Apm.AspNetCore.Tests.BaggageAspNetCoreTests.MultipleServices() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/integrations/Elastic.Apm.AspNetCore.Tests/BaggageAspNetCoreTests.cs:line 76
--- End of stack trace from previous location ---
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.DistributedTracing.BaggageTests ► BaggageTests.CaptureBaggageWithNonDefaultConfig
Failed test found in:
junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
Raw output
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
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.Collections.GenericDictionaryAssertions`2.Contain(IEnumerable`1 expected, String because, Object[] becauseArgs)
at FluentAssertions.Collections.GenericDictionaryAssertions`2.Contain(KeyValuePair`2[] expected)
at Elastic.Apm.Tests.DistributedTracing.BaggageTests.CaptureBaggageWithNonDefaultConfig() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/Elastic.Apm.Tests/DistributedTracing/BaggageTests.cs:line 69
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.Apm.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.DistributedTracing.BaggageTests ► BaggageTests.CaptureBaggageWithDefaultConfig
Failed test found in:
junit-unit-linux-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
Raw output
Expected payloadSender.FirstTransaction.Otel.Attributes {[baggage.foo, bar]} to contain key "foo".
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.Collections.GenericDictionaryAssertions`2.Contain(IEnumerable`1 expected, String because, Object[] becauseArgs)
at FluentAssertions.Collections.GenericDictionaryAssertions`2.Contain(KeyValuePair`2[] expected)
at Elastic.Apm.Tests.DistributedTracing.BaggageTests.CaptureBaggageWithDefaultConfig() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/Elastic.Apm.Tests/DistributedTracing/BaggageTests.cs:line 44
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)