Return total memory when limit is max value. #325
4150 passed, 7 failed and 109 skipped
✔️ junit-startuphooks-windows-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml
12 tests were completed in 333s with 12 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml
1 tests were completed in 629ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml
170 tests were completed in 84s with 170 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml
73 tests were completed in 72ms with 11 passed, 0 failed and 62 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Docker.Tests.xml
10 tests were completed in 4ms with 9 passed, 0 failed and 1 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Elasticsearch.Tests.xml
7 tests were completed in 396ms with 1 passed, 0 failed and 6 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.EntityFrameworkCore.Tests.xml
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Extensions.Hosting.Tests.xml
5 tests were completed in 2s with 4 passed, 0 failed and 1 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Extensions.Logging.Tests.xml
1 tests were completed in 677ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Grpc.Tests.xml
2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.MongoDb.Tests.xml
2 tests were completed in 2ms with 0 passed, 0 failed and 2 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml
11 tests were completed in 6s with 10 passed, 0 failed and 1 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.SqlClient.Tests.xml
4 tests were completed in 4ms with 0 passed, 0 failed and 4 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml
3 tests were completed in 115ms with 1 passed, 0 failed and 2 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml
1 tests were completed in 583ms with 1 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml
1 tests were completed in 124ms with 1 passed, 0 failed and 0 skipped.
❌ junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
1974 tests were completed in 1005s with 1967 passed, 5 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Tests.dll | 1967✔️ | 5❌ | 2✖️ | 1005s |
❌ Elastic.Apm.Tests.dll
Elastic.Apm.Tests.Config.ConfigurationLoggingPreambleTests
Elastic.Apm.Tests.TransactionIgnoreUrlsTests
Elastic.Apm.Tests.ActivityIntegrationTests
Elastic.Apm.Tests.HelpersTests.DbgInstanceNameGeneratorTests
Elastic.Apm.Tests.HelpersTests.DbgUtilsTests
Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests
❌ CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: False)
Expected inactiveFileBytesSample.KeyValue.Value to be 10407936.0, but found 500.0.
❌ CgroupMetricsProviderTests.TestUnlimitedCgroup1
System.InvalidOperationException : Sequence contains more than one matching element
❌ CgroupMetricsProviderTests.TestUnlimitedCgroup2
System.InvalidOperationException : Sequence contains more than one matching element
❌ CgroupMetricsProviderTests.TestLimitedCgroup2
System.InvalidOperationException : Sequence contains more than one matching element
❌ CgroupMetricsProviderTests.TestLimitedCgroup1
System.InvalidOperationException : Sequence contains more than one matching element
Elastic.Apm.Tests.HelpersTests.DisposableHelperTests
Elastic.Apm.Tests.HelpersTests.ObjectExtensionsTests
Elastic.Apm.Tests.HelpersTests.PlatformDetectionTests
Elastic.Apm.Tests.Utilities.MockAgentTimerTests
Elastic.Apm.Tests.HelpersTests
Elastic.Apm.Tests.SerializationTests
Elastic.Apm.Tests.DiagnosticSource.DiagnosticListenerTests
Elastic.Apm.Tests.ApiTests.DistributedTracingDataTests
Elastic.Apm.Tests.DistributedTracing.BaggageTests
Elastic.Apm.Tests.HelpersTests.CollectionExtensionsTests
Elastic.Apm.Tests.ApmServerInfoProviderTests
Elastic.Apm.Tests.HelpersTests.StringExtensionsTests
Elastic.Apm.Tests.ExitSpanMinDurationTests
Elastic.Apm.Tests.TransactionSamplingTests
Elastic.Apm.Tests.ServiceResourceTest
Elastic.Apm.Tests.InstrumentationFlagTests
Elastic.Apm.Tests.HelpersTests.CascadeFetcherTests
Elastic.Apm.Tests.BackendCommTests.BackendCommUtilsTests
Elastic.Apm.Tests.LabelTests
Elastic.Apm.Tests.TestHelpers.TestingConfigTests
Elastic.Apm.Tests.EnabledAndRecordingTests
Elastic.Apm.Tests.BasicAgentTests
Elastic.Apm.Tests.HelpersTests.DbConnectionStringParserTests
Elastic.Apm.Tests.SystemInfoHelperTests
Elastic.Apm.Tests.Features.AgentFeaturesProviderTests
Elastic.Apm.Tests.Cloud.CloudMetadataProviderCollectionTests
Elastic.Apm.Tests.SpanTests
Elastic.Apm.Tests.Config.ProfilerLogConfigTests
Elastic.Apm.Tests.WildcardMatcherTests
Elastic.Apm.Tests.DistributedTracing.DistributedTracingTests
Elastic.Apm.Tests.SpanCompressionTests
Elastic.Apm.Tests.BackendCommTests.ServiceActivationTests
Elastic.Apm.Tests.Config.ConfigTests
Elastic.Apm.Tests.HelpersTests.AgentTimeInstantTests
Elastic.Apm.Tests.Metrics.Linux.GlobalMemoryStatusTests
Elastic.Apm.Tests.ListExtensionsTests
Elastic.Apm.Tests.ConstructorTests
Elastic.Apm.Tests.HelpersTests.ExceptionUtilsTests
Elastic.Apm.Tests.SpecTests
Elastic.Apm.Tests.UnsampledTransactionTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigFetcherTests
Elastic.Apm.Tests.LogValuesFormatterTests
Elastic.Apm.Tests.ApiTests.ConvenientApiSpanTests
Elastic.Apm.Tests.Cloud.AzureAppServiceMetadataProviderTests
Elastic.Apm.Tests.DbSpanNameTests
Elastic.Apm.Tests.DistributedTracing.TraceStateTests
Elastic.Apm.Tests.ApiTests.CulpritTests
Elastic.Apm.Tests.TestHelpers.MultiThreadsTestUtilsTests
Elastic.Apm.Tests.HelpersTests.TextUtilsTests
Elastic.Apm.Tests.SamplerTests
Elastic.Apm.Tests.Cloud.AzureFunctionsMetadataProviderTests
Elastic.Apm.Tests.Extensions.EnvironmentVariablesExtensionsTests
Elastic.Apm.Tests.StackTraceTests
Elastic.Apm.Tests.HelpersTests.IntExtensionsTests
Elastic.Apm.Tests.HelpersTests.UrlUtilsTests
Elastic.Apm.Tests.ApiTests.UrlTests
Elastic.Apm.Tests.HelpersTests.ToStringBuilderTests
Elastic.Apm.Tests.LibrariesTests
Elastic.Apm.Tests.LoggerTests
Elastic.Apm.Tests.ExitSpanTests
Elastic.Apm.Tests.ApiTests.ConvenientApiTransactionTests
Elastic.Apm.Tests.HelpersTests.AgentSpinLockTests
Elastic.Apm.Tests.HelpersTests.TimeUtilsTests
Elastic.Apm.Tests.TestHelpers.EnumerableTestExtensionsTests
Elastic.Apm.Tests.BreakdownTests
Elastic.Apm.Tests.HelpersTests.ContractExtensionsTests
Elastic.Apm.Tests.ApiTests.ApiTests
Elastic.Apm.Tests.WorkingLoopTests
Elastic.Apm.Tests.TestHelpers.RandomTestHelperTests
Elastic.Apm.Tests.DroppedSpansStatsTests
Elastic.Apm.Tests.HelpersTests.AssertionTests
Elastic.Apm.Tests.Extensions.EnumerableExtensionsTests
Elastic.Apm.Tests.TestHelpers.TextUtilsTests
Elastic.Apm.Tests.MetricsTests
Elastic.Apm.Tests.HelpersTests.LazyContextualInitTests
Elastic.Apm.Tests.ApiTests.ExitSpanTests
Elastic.Apm.Tests.HelpersTests.TimeExtensionsTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigResponseParserTests
Elastic.Apm.Tests.ErrorTests
Elastic.Apm.Tests.ServerCertificateTests
Elastic.Apm.Tests.Cloud.GcpCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.AwsCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.AzureCloudMetadataProviderTests
Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
Elastic.Apm.Tests.FilterTests
Elastic.Apm.Tests.HelpersTests.AgentTimerTests
Elastic.Apm.Tests.HttpDiagnosticListenerTests
✔️ junit-unit-windows-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml
5 tests were completed in 5ms with 0 passed, 0 failed and 5 skipped.
✔️ junit-unit-windows-NETFramework462-Elastic.Apm.FullFramework.Tests.xml
4 tests were completed in 726ms with 4 passed, 0 failed and 0 skipped.
✔️ junit-unit-windows-NETFramework462-Elastic.Apm.SqlClient.Tests.xml
4 tests were completed in 4ms with 0 passed, 0 failed and 4 skipped.
❌ junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml
1970 tests were completed in 754s with 1949 passed, 2 failed and 19 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Tests.dll | 1949✔️ | 2❌ | 19✖️ | 754s |
❌ Elastic.Apm.Tests.dll
Elastic.Apm.Tests.HelpersTests.ToStringBuilderTests
Elastic.Apm.Tests.SystemInfoHelperTests
Elastic.Apm.Tests.Config.ProfilerLogConfigTests
Elastic.Apm.Tests.HelpersTests.UrlUtilsTests
Elastic.Apm.Tests.Features.AgentFeaturesProviderTests
Elastic.Apm.Tests.SpanTests
Elastic.Apm.Tests.HelpersTests
Elastic.Apm.Tests.HelpersTests.CascadeFetcherTests
Elastic.Apm.Tests.HelpersTests.ObjectExtensionsTests
Elastic.Apm.Tests.Utilities.MockAgentTimerTests
Elastic.Apm.Tests.Cloud.CloudMetadataProviderCollectionTests
Elastic.Apm.Tests.HelpersTests.StringExtensionsTests
Elastic.Apm.Tests.Metrics.Linux.GlobalMemoryStatusTests
Elastic.Apm.Tests.SpecTests
Elastic.Apm.Tests.ExitSpanTests
Elastic.Apm.Tests.HelpersTests.AgentSpinLockTests
Elastic.Apm.Tests.ApiTests.UrlTests
Elastic.Apm.Tests.SamplerTests
Elastic.Apm.Tests.BackendCommTests.ServiceActivationTests
Elastic.Apm.Tests.Config.ConfigurationLoggingPreambleTests
Elastic.Apm.Tests.MetricsTests
Elastic.Apm.Tests.HelpersTests.ExceptionUtilsTests
Elastic.Apm.Tests.ApiTests.ConvenientApiSpanTests
Elastic.Apm.Tests.EnabledAndRecordingTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigFetcherTests
Elastic.Apm.Tests.BackendCommTests.BackendCommUtilsTests
Elastic.Apm.Tests.LabelTests
Elastic.Apm.Tests.HelpersTests.AgentTimerTests
Elastic.Apm.Tests.DbSpanNameTests
Elastic.Apm.Tests.LogValuesFormatterTests
Elastic.Apm.Tests.WildcardMatcherTests
Elastic.Apm.Tests.HelpersTests.DisposableHelperTests
Elastic.Apm.Tests.ExitSpanMinDurationTests
Elastic.Apm.Tests.TransactionIgnoreUrlsTests
Elastic.Apm.Tests.StackTraceTests
Elastic.Apm.Tests.TestHelpers.EnumerableTestExtensionsTests
Elastic.Apm.Tests.ApiTests.ConvenientApiTransactionTests
Elastic.Apm.Tests.DroppedSpansStatsTests
Elastic.Apm.Tests.Config.ConfigTests
Elastic.Apm.Tests.HelpersTests.TextUtilsTests
Elastic.Apm.Tests.HelpersTests.PlatformDetectionTests
Elastic.Apm.Tests.ApmServerInfoProviderTests
Elastic.Apm.Tests.TestHelpers.TestingConfigTests
Elastic.Apm.Tests.SpanCompressionTests
Elastic.Apm.Tests.WorkingLoopTests
Elastic.Apm.Tests.ApiTests.DistributedTracingDataTests
Elastic.Apm.Tests.HelpersTests.DbgUtilsTests
Elastic.Apm.Tests.HelpersTests.IntExtensionsTests
Elastic.Apm.Tests.Extensions.EnumerableExtensionsTests
Elastic.Apm.Tests.BreakdownTests
Elastic.Apm.Tests.ApiTests.ExitSpanTests
Elastic.Apm.Tests.HelpersTests.AssertionTests
Elastic.Apm.Tests.ApiTests.ApiTests
Elastic.Apm.Tests.DistributedTracing.TraceStateTests
Elastic.Apm.Tests.DistributedTracing.DistributedTracingTests
Elastic.Apm.Tests.HelpersTests.TimeExtensionsTests
Elastic.Apm.Tests.HelpersTests.TimeUtilsTests
Elastic.Apm.Tests.ApiTests.CulpritTests
Elastic.Apm.Tests.DiagnosticSource.DiagnosticListenerTests
Elastic.Apm.Tests.TestHelpers.RandomTestHelperTests
Elastic.Apm.Tests.Cloud.GcpCloudMetadataProviderTests
Elastic.Apm.Tests.HelpersTests.ContractExtensionsTests
Elastic.Apm.Tests.HelpersTests.DbgInstanceNameGeneratorTests
Elastic.Apm.Tests.ActivityIntegrationTests
Elastic.Apm.Tests.TestHelpers.MultiThreadsTestUtilsTests
Elastic.Apm.Tests.DistributedTracing.BaggageTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigResponseParserTests
Elastic.Apm.Tests.LibrariesTests
Elastic.Apm.Tests.HelpersTests.AgentTimeInstantTests
Elastic.Apm.Tests.TransactionSamplingTests
Elastic.Apm.Tests.HelpersTests.DbConnectionStringParserTests
Elastic.Apm.Tests.ServiceResourceTest
Elastic.Apm.Tests.ListExtensionsTests
Elastic.Apm.Tests.LoggerTests
Elastic.Apm.Tests.HelpersTests.LazyContextualInitTests
Elastic.Apm.Tests.UnsampledTransactionTests
Elastic.Apm.Tests.Extensions.EnvironmentVariablesExtensionsTests
Elastic.Apm.Tests.ConstructorTests
Elastic.Apm.Tests.HelpersTests.CollectionExtensionsTests
Elastic.Apm.Tests.Cloud.AzureFunctionsMetadataProviderTests
Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests
❌ CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: False)
Expected value to be 10407936.0, but found 500.0.
❌ CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: True)
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Tests.Cloud.AzureAppServiceMetadataProviderTests
Elastic.Apm.Tests.ErrorTests
Elastic.Apm.Tests.BasicAgentTests
Elastic.Apm.Tests.TestHelpers.TextUtilsTests
Elastic.Apm.Tests.SerializationTests
Elastic.Apm.Tests.InstrumentationFlagTests
Elastic.Apm.Tests.Cloud.AzureCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.AwsCloudMetadataProviderTests
Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
Elastic.Apm.Tests.FilterTests
Elastic.Apm.Tests.HttpDiagnosticListenerTests
Annotations
Check failure on line 0 in junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: False)
Failed test found in:
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
Expected inactiveFileBytesSample.KeyValue.Value to be 10407936.0, but found 500.0.
Raw output
Expected inactiveFileBytesSample.KeyValue.Value to be 10407936.0, but found 500.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.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.Be(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestInactiveFileBytes(Double inactiveFiles, Double totalInactiveFiles, Boolean inactiveFirst) in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 57
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-windows-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestUnlimitedCgroup1
Failed test found in:
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
Stack Trace:
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestUnlimitedCgroup1() in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 100
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-windows-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestUnlimitedCgroup2
Failed test found in:
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
Stack Trace:
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestUnlimitedCgroup2() in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 118
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-windows-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestLimitedCgroup2
Failed test found in:
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
Stack Trace:
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestLimitedCgroup2() in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 83
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-windows-NETCoreApp70-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestLimitedCgroup1
Failed test found in:
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml
Error:
System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
Stack Trace:
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestLimitedCgroup1() in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 66
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-windows-NETFramework462-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: False)
Failed test found in:
junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml
Error:
Expected value to be 10407936.0, but found 500.0.
Raw output
Expected value to be 10407936.0, but found 500.0.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Numeric.NumericAssertions`1.Be(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestInactiveFileBytes(Double inactiveFiles, Double totalInactiveFiles, Boolean inactiveFirst) in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 58
Check failure on line 0 in junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml
github-actions / Windows Tests Summary
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests ► CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: True)
Failed test found in:
junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.<>c.<TestInactiveFileBytes>b__5_0(MetricSample s) in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 55
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests.TestInactiveFileBytes(Double inactiveFiles, Double totalInactiveFiles, Boolean inactiveFirst) in D:\a\apm-agent-dotnet\apm-agent-dotnet\test\Elastic.Apm.Tests\Metrics\CgroupMetricsProviderTests.cs:line 55