You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2025/03/10 07:10:36 UTC

[I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7112:
URL: https://github.com/apache/camel-quarkus/issues/7112#issuecomment-2713712578

   Sorry @JiriOndrusek. I need to reopen again. There is still some weirdness going on.
   
   Not sure if it's related to the GitHub runner environment or something else.
   
   In this case the mssql container crashed:
   
   https://github.com/apache/camel-quarkus/actions/runs/13782311910/job/38543174994
   
   ```
   STDERR: This program has encountered a fatal error and cannot continue running at Tue Mar 11 07:38:05 2025
   STDERR: The following diagnostic information is available:
   STDERR: 
   STDERR:          Reason: 0x00000001
   STDERR:          Signal: SIGABRT - Aborted (6)
   STDERR:           Stack:
   STDERR:                  IP               Function
   STDERR:                  ---------------- --------------------------------------
   STDERR:                  000055dd0c0da5e1 std::__1::bad_function_call::~bad_function_call()+0x324b1
   STDERR:                  000055dd0c0d9fa6 std::__1::bad_function_call::~bad_function_call()+0x31e76
   STDERR:                  000055dd0c0d952f std::__1::bad_function_call::~bad_function_call()+0x313ff
   STDERR:                  00007f0d493f4090 killpg+0x40
   STDERR:                  00007f0d493f400b gsignal+0xcb
   STDERR:                  00007f0d493d3859 abort+0x12b
   STDERR:                  000055dd0c06d276 std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char>>::str() const+0xc936
   STDERR:                  000055dd0c0ef434 std::__1::bad_function_call::~bad_function_call()+0x47304
   STDERR:                  000055dd0c121508 std::__1::bad_function_call::~bad_function_call()+0x793d8
   STDERR:                  000055dd0c1212ea std::__1::bad_function_call::~bad_function_call()+0x791ba
   STDERR:                  000055dd0c0736ea std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char>>::str() const+0x12daa
   STDERR:                  000055dd0c073360 std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char>>::str() const+0x12a20
   STDERR:         Process: 26 - sqlservr
   STDERR:          Thread: 153 (application thread 0x214)
   STDERR:     Instance Id: 94333a75-6374-49ea-9e10-192b6a71ddf6
   STDERR:        Crash Id: a183fa3c-9e23-405b-bbf9-bb3fe908415d
   STDERR:     Build stamp: 8ec8bf7535ba9e851dd60ffb1ceae46cb19b7b05f6b3e246cedcc89ff8f741aa
   STDERR:    Distribution: Ubuntu 20.04.6 LTS
   STDERR:      Processors: 4
   STDERR:    Total Memory: 16766767104 bytes
   STDERR:       Timestamp: Tue Mar 11 07:38:05 2025
   STDERR:      Last errno: 2
   STDERR: Last errno text: No such file or directory
   STDERR: Capturing a dump of 26
   STDERR: 2025/03/11 07:38:05 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp [::1]:1431: getsockopt: connection refused, will reattempt connection.
   STDERR: 2025/03/11 07:38:06 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp [::1]:1431: getsockopt: connection refused, will reattempt connection.
   STDERR: Successfully captured dump: /var/opt/mssql/log/core.sqlservr.3_11_2025_7_38_5.26
   STDOUT: 
   STDOUT: Executing: /opt/mssql/bin/handle-crash.sh with parameters
   STDOUT:      handle-crash.sh
   STDOUT:      /opt/mssql/bin/sqlservr
   STDOUT:      26
   STDOUT:      /opt/mssql/bin
   STDOUT:      /var/opt/mssql/log/
   STDOUT:      
   STDOUT:      94333a75-6374-49ea-9e10-192b6a71ddf6
   STDOUT:      a183fa3c-9e23-405b-bbf9-bb3fe908415d
   STDOUT:      
   STDOUT:      /var/opt/mssql/log/core.sqlservr.3_11_2025_7_38_5.26
   ```


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7112:
URL: https://github.com/apache/camel-quarkus/issues/7112#issuecomment-2709629404

   @JiriOndrusek Can we try to get this solved before we release 3.20.0 in a couple of weeks. Otherwise we'll need to temporarily disable the Service Bus container testing on GitHub CI.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7112: Intermittent failure of AzureServiceBusTest
URL: https://github.com/apache/camel-quarkus/issues/7112


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7112: Intermittent failure of AzureServiceBusTest
URL: https://github.com/apache/camel-quarkus/issues/7112


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on issue #7112:
URL: https://github.com/apache/camel-quarkus/issues/7112#issuecomment-2709653642

   I'll check the problem


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Intermittent failure of AzureServiceBusTest [camel-quarkus]

Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on issue #7112:
URL: https://github.com/apache/camel-quarkus/issues/7112#issuecomment-2716933564

   I see the error also in nightly `camel-main` the [log](https://productionresultssa3.blob.core.windows.net/actions-results/8ba6bd52-8081-4750-96b1-2c7151a0a652/workflow-job-run-29c31edf-75d1-574a-4e81-607637b1cd7c/logs/job/job-logs.txt?rsct=text%2Fplain&se=2025-03-12T07%3A51%3A06Z&sig=vLBIyJtnjRtkDK18P2IDLZmIpTVFG7DT7O6nywzXYno%3D&ske=2025-03-12T18%3A59%3A35Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2025-03-12T06%3A59%3A35Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-01-05&sp=r&spr=https&sr=b&st=2025-03-12T07%3A41%3A01Z&sv=2025-01-05) 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org