Skip to content

Return total memory when limit is max value. #422

Return total memory when limit is max value.

Return total memory when limit is max value. #422

GitHub Actions / Windows Tests Summary failed Nov 8, 2023 in 0s

4162 passed, 1 failed and 109 skipped

Tests failed

Report Passed Failed Skipped Time
junit-startuphooks-windows-NETCoreApp70-Elastic.Apm.StartupHook.Tests.xml 12✔️ 335s
junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetCore.Static.Tests.xml 1✔️ 577ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetCore.Tests.xml 170✔️ 80s
junit-unit-windows-NETCoreApp70-Elastic.Apm.AspNetFullFramework.Tests.xml 11✔️ 62✖️ 72ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.Docker.Tests.xml 9✔️ 1✖️ 5ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.Elasticsearch.Tests.xml 1✔️ 6✖️ 375ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.EntityFrameworkCore.Tests.xml 6✔️ 2s
junit-unit-windows-NETCoreApp70-Elastic.Apm.Extensions.Hosting.Tests.xml 4✔️ 1✖️ 3s
junit-unit-windows-NETCoreApp70-Elastic.Apm.Extensions.Logging.Tests.xml 1✔️ 397ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.Grpc.Tests.xml 2✔️ 2s
junit-unit-windows-NETCoreApp70-Elastic.Apm.MongoDb.Tests.xml 2✖️ 2ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.OpenTelemetry.Tests.xml 10✔️ 1✖️ 6s
junit-unit-windows-NETCoreApp70-Elastic.Apm.SqlClient.Tests.xml 4✖️ 4ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.StackExchange.Redis.Tests.xml 1✔️ 2✖️ 136ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.StaticExplicitInitialization.Tests.xml 1✔️ 2s
junit-unit-windows-NETCoreApp70-Elastic.Apm.StaticImplicitInitialization.Tests.xml 1✔️ 215ms
junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml 1974✔️ 1❌ 2✖️ 754s
junit-unit-windows-NETCoreApp70-Elastic.Clients.Elasticsearch.Tests.xml 5✖️ 5ms
junit-unit-windows-NETFramework462-Elastic.Apm.FullFramework.Tests.xml 4✔️ 769ms
junit-unit-windows-NETFramework462-Elastic.Apm.SqlClient.Tests.xml 4✖️ 4ms
junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml 1954✔️ 19✖️ 972s

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

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

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

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

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

170 tests were completed in 80s 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 5ms with 9 passed, 0 failed and 1 skipped.

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

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

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

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

✔️ junit-unit-windows-NETCoreApp70-Elastic.Apm.Grpc.Tests.xml

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

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

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

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

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

❌ junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml

1977 tests were completed in 754s with 1974 passed, 1 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Elastic.Apm.Tests.dll 1974✔️ 1❌ 2✖️ 754s

❌ Elastic.Apm.Tests.dll

Elastic.Apm.Tests.Config.ProfilerLogConfigTests
Elastic.Apm.Tests.Config.ConfigurationLoggingPreambleTests
Elastic.Apm.Tests.HelpersTests.AgentTimeInstantTests
Elastic.Apm.Tests.DroppedSpansStatsTests
Elastic.Apm.Tests.ApiTests.ApiTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigResponseParserTests
Elastic.Apm.Tests.DiagnosticSource.DiagnosticListenerTests
Elastic.Apm.Tests.Cloud.AzureFunctionsMetadataProviderTests
Elastic.Apm.Tests.HelpersTests
Elastic.Apm.Tests.HelpersTests.IntExtensionsTests
Elastic.Apm.Tests.SamplerTests
Elastic.Apm.Tests.LoggerTests
Elastic.Apm.Tests.BackendCommTests.CentralConfig.CentralConfigFetcherTests
Elastic.Apm.Tests.HelpersTests.DbConnectionStringParserTests
Elastic.Apm.Tests.Metrics.FreeAndTotalMemoryProviderTests
Elastic.Apm.Tests.HelpersTests.ToStringBuilderTests
Elastic.Apm.Tests.BreakdownTests
Elastic.Apm.Tests.MetricsTests
Elastic.Apm.Tests.HelpersTests.CascadeFetcherTests
Elastic.Apm.Tests.HelpersTests.DbgInstanceNameGeneratorTests
Elastic.Apm.Tests.TransactionSamplingTests
Elastic.Apm.Tests.TestHelpers.MultiThreadsTestUtilsTests
Elastic.Apm.Tests.HelpersTests.ContractExtensionsTests
Elastic.Apm.Tests.ErrorTests
Elastic.Apm.Tests.TestHelpers.RandomTestHelperTests
Elastic.Apm.Tests.EnabledAndRecordingTests
Elastic.Apm.Tests.ApmServerInfoProviderTests
Elastic.Apm.Tests.HelpersTests.PlatformDetectionTests
Elastic.Apm.Tests.Metrics.Linux.GlobalMemoryStatusTests
Elastic.Apm.Tests.HelpersTests.AssertionTests
Elastic.Apm.Tests.HelpersTests.ExceptionUtilsTests
Elastic.Apm.Tests.ServiceResourceTest
Elastic.Apm.Tests.TransactionIgnoreUrlsTests
Elastic.Apm.Tests.ApiTests.CulpritTests
Elastic.Apm.Tests.HelpersTests.StringExtensionsTests
Elastic.Apm.Tests.WildcardMatcherTests
Elastic.Apm.Tests.TestHelpers.TestingConfigTests
Elastic.Apm.Tests.Metrics.CgroupMetricsProviderTests
  ❌ CgroupMetricsProviderTests.TestInactiveFileBytes(inactiveFiles: 500, totalInactiveFiles: 10407936, inactiveFirst: True)
	Expected inactiveFileBytesSample.KeyValue.Value to be 10407936.0, but found 500.0.
Elastic.Apm.Tests.WorkingLoopTests
Elastic.Apm.Tests.BasicAgentTests
Elastic.Apm.Tests.LibrariesTests
Elastic.Apm.Tests.SystemInfoHelperTests
Elastic.Apm.Tests.Features.AgentFeaturesProviderTests
Elastic.Apm.Tests.Cloud.CloudMetadataProviderCollectionTests
Elastic.Apm.Tests.InstrumentationFlagTests
Elastic.Apm.Tests.DistributedTracing.TraceStateTests
Elastic.Apm.Tests.DistributedTracing.BaggageTests
Elastic.Apm.Tests.TestHelpers.TextUtilsTests
Elastic.Apm.Tests.UnsampledTransactionTests
Elastic.Apm.Tests.SpanTests
Elastic.Apm.Tests.SpecTests
Elastic.Apm.Tests.ApiTests.ConvenientApiTransactionTests
Elastic.Apm.Tests.ListExtensionsTests
Elastic.Apm.Tests.SpanCompressionTests
Elastic.Apm.Tests.ApiTests.DistributedTracingDataTests
Elastic.Apm.Tests.BackendCommTests.BackendCommUtilsTests
Elastic.Apm.Tests.ApiTests.ConvenientApiSpanTests
Elastic.Apm.Tests.Cloud.AzureAppServiceMetadataProviderTests
Elastic.Apm.Tests.Extensions.EnvironmentVariablesExtensionsTests
Elastic.Apm.Tests.ActivityIntegrationTests
Elastic.Apm.Tests.HelpersTests.DisposableHelperTests
Elastic.Apm.Tests.HelpersTests.CollectionExtensionsTests
Elastic.Apm.Tests.HelpersTests.TimeExtensionsTests
Elastic.Apm.Tests.StackTraceTests
Elastic.Apm.Tests.HelpersTests.AgentSpinLockTests
Elastic.Apm.Tests.ApiTests.UrlTests
Elastic.Apm.Tests.HelpersTests.ObjectExtensionsTests
Elastic.Apm.Tests.Utilities.MockAgentTimerTests
Elastic.Apm.Tests.DbSpanNameTests
Elastic.Apm.Tests.SerializationTests
Elastic.Apm.Tests.DistributedTracing.DistributedTracingTests
Elastic.Apm.Tests.HelpersTests.TimeUtilsTests
Elastic.Apm.Tests.LabelTests
Elastic.Apm.Tests.ExitSpanMinDurationTests
Elastic.Apm.Tests.Extensions.EnumerableExtensionsTests
Elastic.Apm.Tests.HelpersTests.TextUtilsTests
Elastic.Apm.Tests.ApiTests.ExitSpanTests
Elastic.Apm.Tests.HelpersTests.DbgUtilsTests
Elastic.Apm.Tests.HelpersTests.LazyContextualInitTests
Elastic.Apm.Tests.HelpersTests.UrlUtilsTests
Elastic.Apm.Tests.ConstructorTests
Elastic.Apm.Tests.BackendCommTests.ServiceActivationTests
Elastic.Apm.Tests.ExitSpanTests
Elastic.Apm.Tests.LogValuesFormatterTests
Elastic.Apm.Tests.Config.ConfigTests
Elastic.Apm.Tests.TestHelpers.EnumerableTestExtensionsTests
Elastic.Apm.Tests.ServerCertificateTests
Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests
Elastic.Apm.Tests.Cloud.GcpCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.AwsCloudMetadataProviderTests
Elastic.Apm.Tests.Cloud.AzureCloudMetadataProviderTests
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 769ms 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

1973 tests were completed in 972s with 1954 passed, 0 failed and 19 skipped.

Annotations

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

See this annotation in the file changed.

@github-actions 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-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.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 52
   at InvokeStub_CgroupMetricsProviderTests.TestInactiveFileBytes(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)