Skip to content

Update CloudProviderSteps.cs#1269

Merged
russcam merged 1 commit intoelastic:masterfrom
gregkalapos:SpeedUpCloudProviderTests
Apr 22, 2021
Merged

Update CloudProviderSteps.cs#1269
russcam merged 1 commit intoelastic:masterfrom
gregkalapos:SpeedUpCloudProviderTests

Conversation

@gregkalapos
Copy link
Copy Markdown
Contributor

@gregkalapos gregkalapos commented Apr 21, 2021

Noticed that these tests run very long. This is from here: #1221 (comment)

Test run prior to this: (1,2min)

image

With the PR: (324ms)
image

@gregkalapos gregkalapos self-assigned this Apr 21, 2021
@gregkalapos gregkalapos requested a review from russcam April 21, 2021 18:38
@ghost
Copy link
Copy Markdown

ghost commented Apr 21, 2021

💔 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

Expand to view the summary

Build stats

  • Build Cause: Started by user Russ Cam

  • Start Time: 2021-04-21T23:57:04.883+0000

  • Duration: 56 min 22 sec

  • Commit: 2852a54

Test stats 🧪

Test Results
Failed 10
Passed 19236
Skipped 85
Total 19331

Trends 🧪

Image of Build Times

Image of Tests

Test errors 10

Expand to view the tests failures

Initializing / Parallel / Linux / Test / EfCoreWithMsSqlTests.Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests.BothEfCoreAndSqlClientCapturingActive – Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / EfCoreWithMsSqlTests.Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests.BothEfCoreAndSqlClientCapturingActive – Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.ArgumentException : An item with the same key has already been added. Key: 1433 
    

    Expand to view the stacktrace

     System.ArgumentException : An item with the same key has already been added. Key: 1433
    Stack Trace:
       at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at TestEnvironment.Docker.Container.RunContainerSafely(String[] environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.Container.Run(IDictionary`2 environmentVariables, CancellationToken token)
       at TestEnvironment.Docker.DockerEnvironment.Up(CancellationToken token)
       at Elastic.Apm.DatabaseTests.Common.DatabaseFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269/apm-agent-dotnet/test/Elastic.Apm.DatabaseTests.Common/DatabaseFixture.cs:line 27 
    

Log output

Expand to view the last 100 lines of log output

[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
[2021-04-22T00:53:15.200Z]       Executing ObjectResult, writing value of type 'System.String'.
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.200Z]       Executed action Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) in 6.82ms
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
[2021-04-22T00:53:15.200Z]       Request finished in 7.1041ms 200 text/plain; charset=utf-8
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
[2021-04-22T00:53:15.200Z]       Request starting HTTP/1.1 POST http://localhost:23891/intake/v2/events application/x-ndjson; charset=utf-8 11050
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
[2021-04-22T00:53:15.200Z]       Route matched with {action = "Post", controller = "IntakeV2Events"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post() on controller Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController (Elastic.Apm.Tests.MockApmServer).
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
[2021-04-22T00:53:15.200Z]       Executing action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) - Validation state: Valid
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.200Z]       Executed action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer), returned result Microsoft.AspNetCore.Mvc.OkObjectResult in 4.2718ms.
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
[2021-04-22T00:53:15.200Z]       Executing ObjectResult, writing value of type 'System.String'.
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.200Z]       Executed action Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) in 4.7205ms
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
[2021-04-22T00:53:15.200Z]       Request finished in 5.011ms 200 text/plain; charset=utf-8
[2021-04-22T00:53:15.200Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
[2021-04-22T00:53:15.201Z]       Request starting HTTP/1.1 POST http://localhost:23891/intake/v2/events application/x-ndjson; charset=utf-8 3336
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
[2021-04-22T00:53:15.201Z]       Route matched with {action = "Post", controller = "IntakeV2Events"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post() on controller Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController (Elastic.Apm.Tests.MockApmServer).
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
[2021-04-22T00:53:15.201Z]       Executing action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) - Validation state: Valid
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer), returned result Microsoft.AspNetCore.Mvc.OkObjectResult in 2.1124ms.
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
[2021-04-22T00:53:15.201Z]       Executing ObjectResult, writing value of type 'System.String'.
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) in 2.322ms
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
[2021-04-22T00:53:15.201Z]       Request finished in 2.583ms 200 text/plain; charset=utf-8
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
[2021-04-22T00:53:15.201Z]       Request starting HTTP/1.1 POST http://localhost:23891/intake/v2/events application/x-ndjson; charset=utf-8 2079
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
[2021-04-22T00:53:15.201Z]       Route matched with {action = "Post", controller = "IntakeV2Events"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post() on controller Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController (Elastic.Apm.Tests.MockApmServer).
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
[2021-04-22T00:53:15.201Z]       Executing action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) - Validation state: Valid
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action method Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer), returned result Microsoft.AspNetCore.Mvc.OkObjectResult in 1.9898ms.
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
[2021-04-22T00:53:15.201Z]       Executing ObjectResult, writing value of type 'System.String'.
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action Elastic.Apm.Tests.MockApmServer.Controllers.IntakeV2EventsController.Post (Elastic.Apm.Tests.MockApmServer) in 2.2066ms
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
[2021-04-22T00:53:15.201Z]       Request finished in 2.5612ms 200 text/plain; charset=utf-8
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
[2021-04-22T00:53:15.201Z]       Request starting HTTP/1.1 GET http://localhost:23891/config/v1/agents?service.name=AspNetFullFramework_Tests_CentralConfigTests-CustomServiceName&service.environment=AspNetFullFramework_Tests_CentralConfigTests-CustomEnvironment  
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
[2021-04-22T00:53:15.201Z]       Route matched with {action = "Get", controller = "AgentsConfig"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get() on controller Elastic.Apm.Tests.MockApmServer.Controllers.AgentsConfigController (Elastic.Apm.Tests.MockApmServer).
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
[2021-04-22T00:53:15.201Z]       Executing action method Elastic.Apm.Tests.MockApmServer.Controllers.AgentsConfigController.Get (Elastic.Apm.Tests.MockApmServer) - Validation state: Valid
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action method Elastic.Apm.Tests.MockApmServer.Controllers.AgentsConfigController.Get (Elastic.Apm.Tests.MockApmServer), returned result Microsoft.AspNetCore.Mvc.StatusCodeResult in 0.1147ms.
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.StatusCodeResult[1]
[2021-04-22T00:53:15.201Z]       Executing HttpStatusCodeResult, setting HTTP status code 304
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
[2021-04-22T00:53:15.201Z]       Executed action Elastic.Apm.Tests.MockApmServer.Controllers.AgentsConfigController.Get (Elastic.Apm.Tests.MockApmServer) in 0.2731ms
[2021-04-22T00:53:15.201Z] info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
[2021-04-22T00:53:15.201Z]       Request finished in 0.561ms 304 
[2021-04-22T00:53:17.101Z] Elastic APM .NET Tests> 100> Console> [2021-04-22 00:53:16.473 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_invalid_value
[2021-04-22T00:53:17.101Z] [xUnit.net 00:17:40.33]   Finished:    Elastic.Apm.AspNetFullFramework.Tests
[2021-04-22T00:53:17.101Z]   Passed Elastic.Apm.AspNetFullFramework.Tests.CentralConfigTests+MaxSpansAndSampleRateTests.MaxSpans_invalid_value [9 s]
[2021-04-22T00:53:17.101Z] 
[2021-04-22T00:53:17.101Z] JunitXML Logger - Results File: C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1269\apm-agent-dotnet\test\Elastic.Apm.AspNetFullFramework.Tests\junit-NETCoreApp21-Elastic.Apm.AspNetFullFramework.Tests.xml
[2021-04-22T00:53:17.101Z] 
[2021-04-22T00:53:17.101Z] Test Run Successful.
[2021-04-22T00:53:17.101Z] Total tests: 115
[2021-04-22T00:53:17.101Z]      Passed: 115
[2021-04-22T00:53:17.101Z]  Total time: 17.7165 Minutes
[2021-04-22T00:53:17.101Z] 
[2021-04-22T00:53:17.101Z] Build succeeded.
[2021-04-22T00:53:17.101Z]     0 Warning(s)
[2021-04-22T00:53:17.101Z]     0 Error(s)
[2021-04-22T00:53:17.101Z] 
[2021-04-22T00:53:17.101Z] Time Elapsed 00:17:43.90
[2021-04-22T00:53:18.065Z] Post stage
[2021-04-22T00:53:18.078Z] Running in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1269\apm-agent-dotnet
[2021-04-22T00:53:18.099Z] Archiving artifacts
[2021-04-22T00:53:18.752Z] Recording test results
[2021-04-22T00:53:19.914Z] [Checks API] No suitable checks publisher found.
[2021-04-22T00:53:19.968Z] Post stage
[2021-04-22T00:53:19.984Z] [WS-CLEANUP] Deleting project workspace...
[2021-04-22T00:53:19.984Z] [WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[2021-04-22T00:53:25.934Z] [WS-CLEANUP] done
[2021-04-22T00:53:26.125Z] Stage "Release to feedz.io" skipped due to when conditional
[2021-04-22T00:53:26.174Z] Stage "Release" skipped due to when conditional
[2021-04-22T00:53:26.193Z] Stage "Release" skipped due to when conditional
[2021-04-22T00:53:26.242Z] Stage "Release" skipped due to when conditional
[2021-04-22T00:53:26.323Z] Stage "AfterRelease" skipped due to when conditional
[2021-04-22T00:53:26.340Z] Stage "AfterRelease" skipped due to when conditional
[2021-04-22T00:53:26.598Z] Running on Jenkins in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1269
[2021-04-22T00:53:26.654Z] [INFO] getVaultSecret: Getting secrets
[2021-04-22T00:53:26.815Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-22T00:53:27.531Z] + chmod 755 generate-build-data.sh
[2021-04-22T00:53:27.531Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1269/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1269/runs/3 UNSTABLE 3382389
[2021-04-22T00:53:27.781Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1269/runs/3/steps/?limit=10000 -o steps-info.json
[2021-04-22T00:53:28.332Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1269/runs/3/tests/?status=FAILED -o tests-errors.json

Copy link
Copy Markdown
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@russcam
Copy link
Copy Markdown
Contributor

russcam commented Apr 22, 2021

Failed tests are not related and opened #1272 to address

@russcam russcam merged commit f4eea73 into elastic:master Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants