apm-agent-dotnet
apm-agent-dotnet copied to clipboard
action: .NET core
Simplify the CI pipeline by using GitHub actions for the Windows specific.
Part of https://github.com/elastic/apm-agent-dotnet/pull/1766
:broken_heart: Tests Failed
the below badges are clickable and redirect to their specific view in the CI or DOCS
![]()
![]()
![]()
![]()
![]()
Expand to view the summary
Build stats
-
Start Time: 2022-07-27T15:47:21.686+0000
-
Duration: 68 min 25 sec
Test stats :test_tube:
Test | Results |
---|---|
Failed | 4 |
Passed | 8298 |
Skipped | 36 |
Total | 8338 |
Test errors 
Expand to view the tests failures
Initializing / Parallel / Windows .NET Framework / IIS Tests / CentralConfigTests+MaxSpansAndSampleRateTests.Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.Combination_of_both_options(maxSpansLocalConfig: null, isSampledLocalConfig: null) – Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests
Expand to view the error details
Expected span.Name to be
"Span_#27_name", but
"Span_#28_name" differs near "8_n" (index 7).
Expand to view the stacktrace
Expected span.Name to be
"Span_#27_name", but
"Span_#28_name" differs near "8_n" (index 7).
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 401
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_0.<<TestImpl>g__SendRequestAssertReceivedData|2>d.MoveNext() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 275
--- End of stack trace from previous location ---
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.TestImpl(IReadOnlyCollection`1 testParamsPerStep, Int32 spansToExecCountForInitialRequest, Nullable`1 maxSpansLocalConfig, Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 230
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.Combination_of_both_options(Nullable`1 maxSpansLocalConfig, Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 168
--- End of stack trace from previous location ---
Standard Output:
Elastic APM .NET Tests> 94> Xunit> [2022-07-27 16:34:14.408 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.Combination_of_both_options(maxSpansLocalConfig: null, isSampledLocalConfig: null)...
Elastic APM .NET Tests> 94> Xunit> [2022-07-27 16:34:28.525 +00:00][Error] - {AspNetFullFramework.Tests.TestsBase} Reached max number of attempts to verify payload - Rethrowing the last exception...
Elastic APM .NET Tests> 94> Xunit> +-> Exception: Xunit.Sdk.XunitException: Expected span.Name to be
Elastic APM .NET Tests> 94> Xunit> "Span_#27_name", but
Elastic APM .NET Tests> 94> Xunit> "Span_#28_name" differs near "8_n" (index 7).
Elastic APM .NET Tests> 94> Xunit> at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
Elastic APM .NET Tests> 94> Xunit> at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
Elastic APM .NET Tests> 94> Xunit> at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
Elastic APM .NET Tests> 94> Xunit> at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
Elastic APM .NET Tests> 94> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
Elastic APM .NET Tests> 94> Xunit> at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
Elastic APM .NET Tests> 94> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
Elastic APM .NET Tests> 94> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
Elastic APM .NET Tests> 94> Xunit> [2022-07-27 16:34:31.804 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.Combination_of_both_options(maxSpansLocalConfig: null, isSampledLocalConfig: null)
Initializing / Parallel / Windows .NET Framework / IIS Tests / CentralConfigTests+MaxSpansAndSampleRateTests.Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: 40) – Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests
Expand to view the error details
Expected span.Name to be
"Span_#10_name", but
"Span_#11_name" differs near "1_n" (index 7).
Expand to view the stacktrace
Expected span.Name to be
"Span_#10_name", but
"Span_#11_name" differs near "1_n" (index 7).
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 401
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_0.<<TestImpl>g__SendRequestAssertReceivedData|2>d.MoveNext() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 275
--- End of stack trace from previous location ---
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.TestImpl(IReadOnlyCollection`1 testParamsPerStep, Int32 spansToExecCountForInitialRequest, Nullable`1 maxSpansLocalConfig, Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 230
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.MaxSpans_valid_value(Nullable`1 maxSpansLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 140
--- End of stack trace from previous location ---
Standard Output:
Elastic APM .NET Tests> 96> Xunit> [2022-07-27 16:34:46.920 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: 40)...
Elastic APM .NET Tests> 96> Xunit> [2022-07-27 16:35:01.144 +00:00][Error] - {AspNetFullFramework.Tests.TestsBase} Reached max number of attempts to verify payload - Rethrowing the last exception...
Elastic APM .NET Tests> 96> Xunit> +-> Exception: Xunit.Sdk.XunitException: Expected span.Name to be
Elastic APM .NET Tests> 96> Xunit> "Span_#10_name", but
Elastic APM .NET Tests> 96> Xunit> "Span_#11_name" differs near "1_n" (index 7).
Elastic APM .NET Tests> 96> Xunit> at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
Elastic APM .NET Tests> 96> Xunit> at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
Elastic APM .NET Tests> 96> Xunit> at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
Elastic APM .NET Tests> 96> Xunit> at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
Elastic APM .NET Tests> 96> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
Elastic APM .NET Tests> 96> Xunit> at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
Elastic APM .NET Tests> 96> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
Elastic APM .NET Tests> 96> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
Elastic APM .NET Tests> 96> Xunit> [2022-07-27 16:35:04.463 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: 40)
Initializing / Parallel / Windows .NET Framework / IIS Tests / CentralConfigTests+MaxSpansAndSampleRateTests.Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: null) – Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests
Expand to view the error details
Expected span.Name to be
"Span_#0_name", but
"Span_#2_name" differs near "2_n" (index 6).
Expand to view the stacktrace
Expected span.Name to be
"Span_#0_name", but
"Span_#2_name" differs near "2_n" (index 6).
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 401
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_0.<<TestImpl>g__SendRequestAssertReceivedData|2>d.MoveNext() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 275
--- End of stack trace from previous location ---
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.TestImpl(IReadOnlyCollection`1 testParamsPerStep, Int32 spansToExecCountForInitialRequest, Nullable`1 maxSpansLocalConfig, Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 230
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.MaxSpans_valid_value(Nullable`1 maxSpansLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 140
--- End of stack trace from previous location ---
Standard Output:
Elastic APM .NET Tests> 97> Xunit> [2022-07-27 16:35:04.465 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: null)...
Elastic APM .NET Tests> 97> Xunit> [2022-07-27 16:35:18.633 +00:00][Error] - {AspNetFullFramework.Tests.TestsBase} Reached max number of attempts to verify payload - Rethrowing the last exception...
Elastic APM .NET Tests> 97> Xunit> +-> Exception: Xunit.Sdk.XunitException: Expected span.Name to be
Elastic APM .NET Tests> 97> Xunit> "Span_#0_name", but
Elastic APM .NET Tests> 97> Xunit> "Span_#2_name" differs near "2_n" (index 6).
Elastic APM .NET Tests> 97> Xunit> at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
Elastic APM .NET Tests> 97> Xunit> at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
Elastic APM .NET Tests> 97> Xunit> at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
Elastic APM .NET Tests> 97> Xunit> at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
Elastic APM .NET Tests> 97> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
Elastic APM .NET Tests> 97> Xunit> at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
Elastic APM .NET Tests> 97> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
Elastic APM .NET Tests> 97> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
Elastic APM .NET Tests> 97> Xunit> [2022-07-27 16:35:22.945 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_valid_value(maxSpansLocalConfig: null)
Initializing / Parallel / Windows .NET Framework / IIS Tests / CentralConfigTests+MaxSpansAndSampleRateTests.Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_invalid_value – Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests
Expand to view the error details
Expected span.Name to be
"Span_#15_name", but
"Span_#16_name" differs near "6_n" (index 7).
Expand to view the stacktrace
Expected span.Name to be
"Span_#15_name", but
"Span_#16_name" differs near "6_n" (index 7).
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 401
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_0.<<TestImpl>g__SendRequestAssertReceivedData|2>d.MoveNext() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 275
--- End of stack trace from previous location ---
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.TestImpl(IReadOnlyCollection`1 testParamsPerStep, Int32 spansToExecCountForInitialRequest, Nullable`1 maxSpansLocalConfig, Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 230
at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.MaxSpans_invalid_value() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 186
--- End of stack trace from previous location ---
Standard Output:
Elastic APM .NET Tests> 100> Xunit> [2022-07-27 16:36:05.929 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_invalid_value...
Elastic APM .NET Tests> 100> Xunit> [2022-07-27 16:36:23.392 +00:00][Error] - {AspNetFullFramework.Tests.TestsBase} Reached max number of attempts to verify payload - Rethrowing the last exception...
Elastic APM .NET Tests> 100> Xunit> +-> Exception: Xunit.Sdk.XunitException: Expected span.Name to be
Elastic APM .NET Tests> 100> Xunit> "Span_#15_name", but
Elastic APM .NET Tests> 100> Xunit> "Span_#16_name" differs near "6_n" (index 7).
Elastic APM .NET Tests> 100> Xunit> at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
Elastic APM .NET Tests> 100> Xunit> at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
Elastic APM .NET Tests> 100> Xunit> at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
Elastic APM .NET Tests> 100> Xunit> at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
Elastic APM .NET Tests> 100> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c.<TestImpl>b__8_4(SpanDto span, Int32 i) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 273
Elastic APM .NET Tests> 100> Xunit> at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachIndexed[T](IEnumerable`1 source, Action`2 action) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 44
Elastic APM .NET Tests> 100> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_1.<TestImpl>b__3(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262
Elastic APM .NET Tests> 100> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1770\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 363
Elastic APM .NET Tests> 100> Xunit> [2022-07-27 16:36:26.960 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_invalid_value
Steps errors 
Expand to view the steps failures
Test IIS
- Took 18 min 44 sec . View more details here
- Description:
.ci/windows/test-iis.bat
:robot: GitHub comments
To re-run your PR in the CI, just comment with:
-
/test
: Re-trigger the build. -
run benchmark tests
: Run the benchmark test. -
run
elasticsearch-ci/docs
: Re-trigger the docs validation. (use unformatted text in the comment!)
I'm closing this for now similar to https://github.com/elastic/apm-agent-dotnet/pull/1766 - seems it's not relevant anymore.