Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 2, 2022

What

APM agent json schema automatic sync

Why

Changeset

@ghost ghost added the automation label Mar 2, 2022
@ghost
Copy link
Author

ghost commented Mar 2, 2022

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-03-02T11:02:12.418+0000

  • Duration: 91 min 16 sec

Test stats 🧪

Test Results
Failed 2
Passed 24225
Skipped 136
Total 24363

Test errors 2

Expand to view the tests failures

Initializing / Parallel / Windows .NET Framework / IIS Tests / CentralConfigTests+MaxSpansAndSampleRateTests.Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.SampleRate_valid_value(isSampledLocalConfig: False) – Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests
    Expand to view the error details

     Expected the date and time to be on or after <2022-03-02 11:53:37.779256>, but found <2022-03-02 11:53:37.779057>. 

    Expand to view the stacktrace

     Expected the date and time to be on or after <2022-03-02 11:53:37.779256>, but found <2022-03-02 11:53:37.779057>. Stack Trace: at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at FluentAssertions.Primitives.DateTimeAssertions.BeOnOrAfter(DateTime expected, String because, Object[] becauseArgs) at Elastic.Apm.Tests.MockApmServer.FluentAssertionsExtensions.ShouldOccurBetween(ITimestampedDto child, ITimedDto containingAncestor) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.Tests.MockApmServer\FluentAssertionsExtensions.cs:line 13 at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.FullFwAssertValid(ITimedDto timedDto) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 644 at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.FullFwAssertValid(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 559 at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.VerifyReceivedDataSharedConstraints(SampleAppUrlPathData sampleAppUrlPathData, ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 543 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-1636\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-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 362 at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 400 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-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 260 --- End of stack trace from previous location --- at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.<>c__DisplayClass8_0.<<TestImpl>b__1>d.MoveNext() in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 251 --- End of stack trace from previous location --- at Elastic.Apm.Tests.Utilities.EnumerableExtensions.ForEachImpl[T](IEnumerable`1 source, Func`2 asyncAction) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.Tests.Utilities\EnumerableExtensions.cs:line 71 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-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 232 at Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests.MaxSpansAndSampleRateTests.SampleRate_valid_value(Nullable`1 isSampledLocalConfig) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 118 --- End of stack trace from previous location --- Standard Output: Elastic APM .NET Tests> 90> Xunit> [2022-03-02 11:53:31.154 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.SampleRate_valid_value(isSampledLocalConfig: False)... Elastic APM .NET Tests> 90> Xunit> [2022-03-02 11:53:47.866 +00:00][Error] - {AspNetFullFramework.Tests.TestsBase} Reached max number of attempts to verify payload - Rethrowing the last exception... Elastic APM .NET Tests> 90> Xunit> +-> Exception: Xunit.Sdk.XunitException: Expected the date and time to be on or after <2022-03-02 11:53:37.779256>, but found <2022-03-02 11:53:37.779057>. Elastic APM .NET Tests> 90> Xunit> at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) Elastic APM .NET Tests> 90> Xunit> at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) Elastic APM .NET Tests> 90> Xunit> at FluentAssertions.Primitives.DateTimeAssertions.BeOnOrAfter(DateTime expected, String because, Object[] becauseArgs) Elastic APM .NET Tests> 90> Xunit> at Elastic.Apm.Tests.MockApmServer.FluentAssertionsExtensions.ShouldOccurBetween(ITimestampedDto child, ITimedDto containingAncestor) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.Tests.MockApmServer\FluentAssertionsExtensions.cs:line 13 Elastic APM .NET Tests> 90> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.FullFwAssertValid(ITimedDto timedDto) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 644 Elastic APM .NET Tests> 90> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.FullFwAssertValid(ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 559 Elastic APM .NET Tests> 90> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.VerifyReceivedDataSharedConstraints(SampleAppUrlPathData sampleAppUrlPathData, ReceivedData receivedData) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 543 Elastic APM .NET Tests> 90> 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-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\CentralConfigTests.cs:line 262 Elastic APM .NET Tests> 90> Xunit> at Elastic.Apm.AspNetFullFramework.Tests.TestsBase.WaitAndCustomVerifyReceivedData(Action`1 verifyAction, Boolean shouldGatherDiagnostics) in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1636\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\TestsBase.cs:line 362 Elastic APM .NET Tests> 90> Xunit> [2022-03-02 11:53:52.187 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.SampleRate_valid_value(isSampledLocalConfig: False) 

Initializing / Parallel / Linux / Profiler Tests / BasicTests.Elastic.Apm.Profiler.Managed.Tests.BasicTests.AgentVersionTest – Elastic.Apm.Profiler.Managed.Tests.BasicTests
    Expand to view the error details

     System.InvalidOperationException : Sequence contains no elements 

    Expand to view the stacktrace

     System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Elastic.Apm.Profiler.Managed.Tests.BasicTests.AgentVersionTest() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1636/apm-agent-dotnet/test/Elastic.Apm.Profiler.Managed.Tests/BasicTests.cs:line 57 --- End of stack trace from previous location --- Standard Output: ProcNet.ObservableProcessException: Exception while starting observable process: dotnet ---> System.ComponentModel.Win32Exception (2): No such file or directory at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at ProcNet.ObservableProcessBase`1.StartProcess(IObserver`1 observer) --- End of inner exception stack trace --- 

Steps errors 4

Expand to view the steps failures

Test & coverage
  • Took 11 min 54 sec . View more details here
  • Description: .ci/linux/test-profiler.sh
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-03-02T12:32:48.974Z] Archiving artifacts withAzureCredentials: error hudson.AbortException: s
Test IIS
  • Took 18 min 21 sec . View more details here
  • Description: .ci/windows/test-iis.bat
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: withAzureCredentials: error hudson.AbortException: script returned exit code 1

🤖 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!)

@gregkalapos gregkalapos self-assigned this Mar 2, 2022
@gregkalapos gregkalapos self-requested a review March 2, 2022 15:51
@gregkalapos gregkalapos merged commit 484f75d into main Mar 2, 2022
@gregkalapos gregkalapos deleted the update-spec-files-20220302110156 branch March 2, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant