jamesnetherton opened a new issue, #7112:
URL: https://github.com/apache/camel-quarkus/issues/7112

   I've seen frequent failures on CI where one of the Service Bus containers 
does not seem to start successfully. Here's the error from the logs.
   
   Full logs can be found 
[here](https://github.com/apache/camel-quarkus/actions/runs/13749076245/job/38447909093).
   
   ```
   fail: 
Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
         Health check sqlserver with status Unhealthy completed after 
14705.7236ms with message '(null)'
         Microsoft.Data.SqlClient.SqlException (0x80131904): 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: 35 - An internal exception was 
caught)
          ---> System.Net.Sockets.SocketException (00000001, 11): Resource 
temporarily unavailable
            at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, 
Boolean justAddresses, AddressFamily addressFamily, Nullable`1 
startingTimestamp)
            at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, 
AddressFamily family)
            at 
Microsoft.Data.SqlClient.SNI.SNITCPHandle.GetHostAddressesSortedByPreference(String
 serverName, SqlConnectionIPAddressPreference ipPreference)+MoveNext()
            at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Connect(String 
serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference 
ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo)
            at Microsoft.Data.SqlClient.SNI.SNITCPHandle..ctor(String 
serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, 
SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& 
pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String 
serverCertificateFilename)
            at 
Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, 
Boolean breakConnection, Action`1 wrapCloseInAction)
            at 
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
 stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean 
asyncClose)
            at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo 
serverInfo, SqlInternalConnectionTds connHandler, TimeoutTimer timeout, 
SqlConnectionString connectionOptions, Boolean withFailover)
            at 
Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo 
serverInfo, String newPassword, SecureString newSecurePassword, 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, Func`3 accessTokenCallback)
            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 ---
            at 
HealthChecks.SqlServer.SqlServerHealthCheck.CheckHealthAsync(HealthCheckContext 
context, CancellationToken cancellationToken) in 
/_/src/HealthChecks.SqlServer/SqlServerHealthCheck.cs:line 28
         ClientConnectionId:00000000-0000-0000-0000-000000000000
   fail: EmulatorHealthCheckHelper[0]
         Retry 1 encountered an exception: SQL DB Unhealthly.. Waiting 00:00:15 
before next retry.
   fail: 
Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
         Health check sqlserver with status Unhealthy completed after 
14625.0419ms with message '(null)'
         Microsoft.Data.SqlClient.SqlException (0x80131904): 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: 35 - An internal exception was 
caught)
          ---> System.Net.Sockets.SocketException (00000001, 11): Resource 
temporarily unavailable
            at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, 
Boolean justAddresses, AddressFamily addressFamily, Nullable`1 
startingTimestamp)
            at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, 
AddressFamily family)
            at 
Microsoft.Data.SqlClient.SNI.SNITCPHandle.GetHostAddressesSortedByPreference(String
 serverName, SqlConnectionIPAddressPreference ipPreference)+MoveNext()
            at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Connect(String 
serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference 
ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo)
            at Microsoft.Data.SqlClient.SNI.SNITCPHandle..ctor(String 
serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, 
SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& 
pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String 
serverCertificateFilename)
            at 
Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, 
Boolean breakConnection, Action`1 wrapCloseInAction)
            at 
Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
 stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean 
asyncClose)
            at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo 
serverInfo, SqlInternalConnectionTds connHandler, TimeoutTimer timeout, 
SqlConnectionString connectionOptions, Boolean withFailover)
            at 
Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo 
serverInfo, String newPassword, SecureString newSecurePassword, 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, Func`3 accessTokenCallback)
            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 ---
            at 
HealthChecks.SqlServer.SqlServerHealthCheck.CheckHealthAsync(HealthCheckContext 
context, CancellationToken cancellationToken) in 
/_/src/HealthChecks.SqlServer/SqlServerHealthCheck.cs:line 28
         ClientConnectionId:00000000-0000-0000-0000-000000000000
   fail: EmulatorHealthCheckHelper[0]
         Retry 2 encountered an exception: SQL DB Unhealthly.. Waiting 00:00:15 
before next retry.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to