apm-agent-dotnet icon indicating copy to clipboard operation
apm-agent-dotnet copied to clipboard

Bump Azure.Storage.Blobs from 12.9.1 to 12.13.0 in /test/Elastic.Apm.Azure.Storage.Tests

Open dependabot[bot] opened this issue 2 years ago • 1 comments

Bumps Azure.Storage.Blobs from 12.9.1 to 12.13.0.

Release notes

Sourced from Azure.Storage.Blobs's releases.

Azure.Storage.Blobs_12.13.0

12.13.0 (2022-07-07)

  • Includes all features from 12.13.0-beta.1.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Aug 09 '22 08:08 dependabot[bot]

:broken_heart: 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-08-10T13:03:12.746+0000

  • Duration: 83 min 56 sec

Test stats :test_tube:

Test Results
Failed 6
Passed 8296
Skipped 40
Total 8342

Test errors 6

Expand to view the tests failures

Initializing / Parallel / Linux / Test / ElasticsearchTests.Elastic.Apm.Elasticsearch.Tests.ElasticsearchTests.Elasticsearch_Span_Does_Not_Have_Http_Child_Span – Elastic.Apm.Elasticsearch.Tests.ElasticsearchTests
    Expand to view the error details

     Docker.DotNet.DockerApiException : Docker API responded with status code=InternalServerError, response={"message":"OCI runtime exec failed: exec failed: cannot exec in a stopped container: unknown"}
     
    
    Expand to view the stacktrace

     Docker.DotNet.DockerApiException : Docker API responded with status code=InternalServerError, response={"message":"OCI runtime exec failed: exec failed: cannot exec in a stopped container: unknown"}
    
    Stack Trace:
       at Docker.DotNet.DockerClient.HandleIfErrorResponseAsync(HttpStatusCode statusCode, HttpResponseMessage response, IEnumerable`1 handlers)
       at Docker.DotNet.DockerClient.MakeRequestAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken token)
       at DotNet.Testcontainers.Client.TestcontainersClient.ExecAsync(String id, IList`1 command, CancellationToken ct)
       at DotNet.Testcontainers.Containers.WaitStrategies.WaitUntilBashCommandsAreCompleted.Until(String id)
       at DotNet.Testcontainers.Containers.WaitStrategies.WaitStrategy.<>c__DisplayClass1_0.<<WaitUntil>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at DotNet.Testcontainers.Containers.WaitStrategies.WaitStrategy.WaitUntil(Func`1 wait, Int32 frequency, Int32 timeout, CancellationToken ct)
       at DotNet.Testcontainers.Containers.Modules.TestcontainersContainer.Start()
       at DotNet.Testcontainers.Containers.Modules.TestcontainersContainer.StartAsync()
       at Elastic.Apm.Elasticsearch.Tests.ElasticsearchFixture.InitializeAsync() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Elasticsearch.Tests/ElasticsearchFixture.cs:line 30 
    
Initializing / Parallel / Linux / Test / EfCoreWithMsSqlTests.Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests.BothEfCoreAndSqlClientCapturingActive – Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests
    Expand to view the error details

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server) 
    
    Expand to view the stacktrace

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
    Stack Trace:
       at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at Microsoft.Data.SqlClient.SqlConnection.Open()
       at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection(Boolean errorsExpected)
       at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
       at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.<>c__DisplayClass18_0.<Exists>b__0(DateTime giveUp)
       at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c__DisplayClass12_0`2.<Execute>b__0(DbContext c, TState s)
       at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
       at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func`2 operation, Func`2 verifySucceeded)
       at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func`2 operation)
       at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)
       at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists()
       at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.EnsureCreated()
       at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated()
       at Elastic.Apm.SqlClient.Tests.EfCoreWithMsSqlTests.BothEfCoreAndSqlClientCapturingActive() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/EfCoreWithMsSqlTests.cs:line 53
    Standard Output:
        [2022-08-10 13:19:52.424 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The service name will be automatically discovered.
        [2022-08-10 13:19:53.191 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The automatically discovered service name is xunit_execution_dotnet
        [2022-08-10 13:19:53.284 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service version. The service version will be automatically discovered.
        [2022-08-10 13:19:53.295 +00:00][Warning] - {AbstractConfigurationReader (MockConfiguration)} Failed to discover service version, the service version will be omitted.
        [2022-08-10 13:19:54.151 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 10:devices:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.254 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 7:blkio:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.254 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 6:pids:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.255 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 4:cpu,cpuacct:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.255 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 2:memory:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.256 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 1:name=systemd:/system.slice/runsvdir.service
        [2022-08-10 13:19:54.256 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runsvdir.service
        [2022-08-10 13:19:54.257 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container 
    
Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server) 
    
    Expand to view the stacktrace

     System.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
    Stack Trace:
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.<>c__DisplayClass9_0.<<SqlClientDiagnosticListener_ShouldCaptureSpan>b__0>d.MoveNext() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 76
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.Api.Tracer.CaptureTransaction(String name, String type, Func`2 func, DistributedTracingData distributedTracingData, IEnumerable`1 links) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/src/Elastic.Apm/Api/Tracer.cs:line 181
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan(String providerName, Func`2 connectionCreator) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 86
    --- End of stack trace from previous location where exception was thrown ---
    Standard Output:
        [2022-08-10 13:20:28.756 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The service name will be automatically discovered.
        [2022-08-10 13:20:28.782 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The automatically discovered service name is xunit_execution_dotnet
        [2022-08-10 13:20:28.782 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service version. The service version will be automatically discovered.
        [2022-08-10 13:20:28.782 +00:00][Warning] - {AbstractConfigurationReader (MockConfiguration)} Failed to discover service version, the service version will be omitted.
        [2022-08-10 13:20:28.898 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 10:devices:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.898 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 7:blkio:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.898 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 6:pids:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.898 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 4:cpu,cpuacct:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.898 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 2:memory:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.899 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 1:name=systemd:/system.slice/runsvdir.service
        [2022-08-10 13:20:28.899 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runsvdir.service
        [2022-08-10 13:20:28.899 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
        System.Data.SqlClient 
    
Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server) 
    
    Expand to view the stacktrace

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
    Stack Trace:
       at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.<>c__DisplayClass9_0.<<SqlClientDiagnosticListener_ShouldCaptureSpan>b__0>d.MoveNext() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 76
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.Api.Tracer.CaptureTransaction(String name, String type, Func`2 func, DistributedTracingData distributedTracingData, IEnumerable`1 links) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/src/Elastic.Apm/Api/Tracer.cs:line 181
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureSpan(String providerName, Func`2 connectionCreator) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 86
    --- End of stack trace from previous location where exception was thrown ---
    Standard Output:
        [2022-08-10 13:20:44.676 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The service name will be automatically discovered.
        [2022-08-10 13:20:44.685 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The automatically discovered service name is xunit_execution_dotnet
        [2022-08-10 13:20:44.701 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service version. The service version will be automatically discovered.
        [2022-08-10 13:20:44.701 +00:00][Warning] - {AbstractConfigurationReader (MockConfiguration)} Failed to discover service version, the service version will be omitted.
        [2022-08-10 13:20:44.715 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 10:devices:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.716 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 7:blkio:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.716 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 6:pids:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.716 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 4:cpu,cpuacct:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.716 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 2:memory:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.717 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 1:name=systemd:/system.slice/runsvdir.service
        [2022-08-10 13:20:44.718 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runsvdir.service
        [2022-08-10 13:20:44.719 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
        Microsoft.Data.SqlClient 
    
Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     System.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server) 
    
    Expand to view the stacktrace

     System.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
    Stack Trace:
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.<>c__DisplayClass10_0.<<SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient>b__0>d.MoveNext() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 132
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.Api.Tracer.CaptureTransaction(String name, String type, Func`2 func, DistributedTracingData distributedTracingData, IEnumerable`1 links) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/src/Elastic.Apm/Api/Tracer.cs:line 181
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient(String providerName, Func`2 connectionCreator) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 149
    --- End of stack trace from previous location where exception was thrown ---
    Standard Output:
        [2022-08-10 13:20:59.370 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The service name will be automatically discovered.
        [2022-08-10 13:20:59.386 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The automatically discovered service name is xunit_execution_dotnet
        [2022-08-10 13:20:59.387 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service version. The service version will be automatically discovered.
        [2022-08-10 13:20:59.389 +00:00][Warning] - {AbstractConfigurationReader (MockConfiguration)} Failed to discover service version, the service version will be omitted.
        [2022-08-10 13:20:59.408 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 10:devices:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.409 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 7:blkio:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.409 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 6:pids:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.410 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 4:cpu,cpuacct:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.411 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 2:memory:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.411 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 1:name=systemd:/system.slice/runsvdir.service
        [2022-08-10 13:20:59.412 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runsvdir.service
        [2022-08-10 13:20:59.412 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
        System.Data.SqlClient 
    
Initializing / Parallel / Linux / Test / SqlClientListenerTests.Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient – Elastic.Apm.SqlClient.Tests.SqlClientListenerTests
    Expand to view the error details

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server) 
    
    Expand to view the stacktrace

     Microsoft.Data.SqlClient.SqlException : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
    Stack Trace:
       at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager)
       at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.<>c__DisplayClass10_0.<<SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient>b__0>d.MoveNext() in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 132
    --- End of stack trace from previous location where exception was thrown ---
       at Elastic.Apm.Api.Tracer.CaptureTransaction(String name, String type, Func`2 func, DistributedTracingData distributedTracingData, IEnumerable`1 links) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/src/Elastic.Apm/Api/Tracer.cs:line 181
       at Elastic.Apm.SqlClient.Tests.SqlClientListenerTests.SqlClientDiagnosticListener_ShouldCaptureErrorFromSystemSqlClient(String providerName, Func`2 connectionCreator) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.SqlClient.Tests/SqlClientListenerTests.cs:line 149
    --- End of stack trace from previous location where exception was thrown ---
    Standard Output:
        [2022-08-10 13:21:14.030 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The service name will be automatically discovered.
        [2022-08-10 13:21:14.032 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service name. The automatically discovered service name is xunit_execution_dotnet
        [2022-08-10 13:21:14.046 +00:00][Info] - {AbstractConfigurationReader (MockConfiguration)} The agent was started without a service version. The service version will be automatically discovered.
        [2022-08-10 13:21:14.046 +00:00][Warning] - {AbstractConfigurationReader (MockConfiguration)} Failed to discover service version, the service version will be omitted.
        [2022-08-10 13:21:14.049 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 10:devices:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.050 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 7:blkio:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.050 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 6:pids:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.050 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 4:cpu,cpuacct:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.050 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 2:memory:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.050 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 1:name=systemd:/system.slice/runsvdir.service
        [2022-08-10 13:21:14.051 +00:00][Info] - {SystemInfoHelper} Could not parse container ID from '/proc/self/cgroup' line: 0::/system.slice/runsvdir.service
        [2022-08-10 13:21:14.051 +00:00][Info] - {SystemInfoHelper} Failed parsing container id - the agent will not report container id. Likely the application is not running within a container
        Microsoft.Data.SqlClient 
    

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

apmmachine avatar Aug 09 '22 10:08 apmmachine

@dependabot ignore this dependency

gregkalapos avatar Aug 24 '22 11:08 gregkalapos

OK, I won't notify you about Azure.Storage.Blobs again, unless you re-open this PR or update it yourself. 😢

dependabot[bot] avatar Aug 24 '22 11:08 dependabot[bot]

:grey_exclamation: Build Aborted

Either there was a build timeout or someone aborted the build.

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

  • Start Time: 2022-08-24T10:52:17.040+0000

  • Duration: 56 min 18 sec

Test stats :test_tube:

Test Results
Failed 21
Passed 16012
Skipped 151
Total 16184

Test errors 21

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Get_Database – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Replace_Document – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Create_Document – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_List_Databases – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_List_Collections – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Delete_Collection – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Delete_Database – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Upsert_Document – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Create_Database – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    
Initializing / Parallel / Linux / Test / MicrosoftAzureCosmosTests.Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests.Capture_Span_When_Create_Collection – Elastic.Apm.Azure.CosmosDb.Tests.MicrosoftAzureCosmosTests
    Expand to view the error details

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment 
    
    Expand to view the stacktrace

     System.AggregateException : One or more errors occurred. (terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    ) (The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment)
    ---- Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException : terraform /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/build/terraform/azure/cosmosdb did not succeed
    exit code: 1
    output:
    azurerm_resource_group.cosmos_db_resource_group: Creating...
    azurerm_resource_group.cosmos_db_resource_group: Creation complete after 1s [id=/subscriptions/d2cd53b3-07b1-4964-9563-3f5201556a81/resourceGroups/ci-dotnet-4-apm-ci-immutable-ubuntu-1804-1661338348173508123-cosmosdb-test]
    azurerm_cosmosdb_account.cosmos_db_account: Creating...
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [1m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [2m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [3m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [4m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [5m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m30s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m40s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [6m50s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m0s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m10s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m20s elapsed]
    azurerm_cosmosdb_account.cosmos_db_account: Still creating... [7m30s elapsed]
    
    Error: [ERROR] Unable to List read-only keys for CosmosDB Account dotnetb6740bb40efb45988c: documentdb.DatabaseAccountsClient#ListReadOnlyKeys: Failure sending request: StatusCode=504 -- Original Error: context deadline exceeded
    
      with azurerm_cosmosdb_account.cosmos_db_account,
      on test_resources.tf line 46, in resource "azurerm_cosmosdb_account" "cosmos_db_account":
      46: resource "azurerm_cosmosdb_account" "cosmos_db_account" {
    
    ---- The following constructor parameters did not have matching fixture data: AzureCosmosDbTestEnvironment environment
    Stack Trace:
    
    ----- Inner Stack Trace #1 (Elastic.Apm.Tests.Utilities.Terraform.TerraformResourceException) -----
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.RunProcess(ObservableProcess process, Action`1 onLine) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 83
       at Elastic.Apm.Tests.Utilities.Terraform.TerraformResources.Apply(IDictionary`2 variables) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs:line 118
       at Elastic.Apm.Azure.CosmosDb.Tests.AzureCosmosDbTestEnvironment..ctor(IMessageSink messageSink) in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1778/apm-agent-dotnet/test/Elastic.Apm.Azure.CosmosDb.Tests/AzureCosmosDbTestEnvironment.cs:line 56
    ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- 
    

Steps errors 2

Expand to view the steps failures

Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-08-24T11:48:00.260Z] Archiving artifacts withAzureCredentials: error org.jenkinsci.plugins.wo
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: withAzureCredentials: error org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

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

apmmachine avatar Aug 24 '22 11:08 apmmachine