Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2469 Make nightly Jenkins builds work
  3. NCBC-2480

SocketException: Cannot bind to address in SslConnectionTests

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0
    • None
    • None
    • 1

    Description

      X Couchbase.IntegrationTests.Core.IO.Connections.SslConnectionTests.ParallelOperations [1ms]
      Error Message:
      System.Net.Sockets.SocketException : Cannot assign requested address
      Stack Trace:
      at System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
      at System.Net.Sockets.Socket.UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state, Boolean flowContext)
      at System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
      at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP)
      at System.Net.Sockets.SocketTaskExtensions.ConnectAsync(Socket socket, EndPoint remoteEP)
      at Couchbase.Core.IO.Connections.ConnectionFactory.CreateAndConnectAsync(IPEndPoint endPoint, CancellationToken cancellationToken) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/IO/Connections/ConnectionFactory.cs:line 37
      at Couchbase.Core.IO.Connections.ConnectionPoolBase.CreateConnectionAsync(CancellationToken cancellationToken) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/IO/Connections/ConnectionPoolBase.cs:line 65
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.<>c_DisplayClass28_0.<<AddConnectionsAsync>g_StartConnection|0>d.MoveNext() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/IO/Connections/DataFlow/DataFlowConnectionPool.cs:line 251
      — End of stack trace from previous location where exception was thrown —
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.AddConnectionsAsync(Int32 count, CancellationToken cancellationToken) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/IO/Connections/DataFlow/DataFlowConnectionPool.cs:line 287
      at Couchbase.Core.IO.Connections.DataFlow.DataFlowConnectionPool.InitializeAsync(CancellationToken cancellationToken) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/IO/Connections/DataFlow/DataFlowConnectionPool.cs:line 80
      at Couchbase.Core.ClusterNode.InitializeAsync() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/ClusterNode.cs:line 174
      at Couchbase.Core.DI.ClusterNodeFactory.CreateAndConnectAsync(HostEndpoint endPoint, CancellationToken cancellationToken) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/DI/ClusterNodeFactory.cs:line 55
      at Couchbase.Core.ClusterContext.BootstrapGlobalAsync() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/ClusterContext.cs:line 231
      at Couchbase.Cluster.Couchbase.Core.Bootstrapping.IBootstrappable.BootStrapAsync() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Cluster.cs:line 397
      at Couchbase.Cluster.ConnectAsync(ClusterOptions options) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Cluster.cs:line 121
      at Couchbase.IntegrationTests.Fixtures.SslClusterFixture.InitializeAsync() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.IntegrationTests/Fixtures/SslClusterFixture.cs:line 59
      X Couchbase.IntegrationTests.UserManagerTests.Test_UserManager [8ms]
      Error Message:
      System.NullReferenceException : Object reference not set to an instance of an object.
      Stack Trace:
      at Couchbase.Core.ServiceUriProvider.GetRandomManagementUri() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Core/ServiceUriProvider.cs:line 33
      at Couchbase.Management.Users.UserManager.GetUsersUri(String domain, String username) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Management/Users/UserManager.cs:line 35
      at Couchbase.Management.Users.UserManager.DropUserAsync(String username, DropUserOptions options) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Management/Users/UserManager.cs:line 198
      at Couchbase.IntegrationTests.UserManagerTests.Test_UserManager() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.IntegrationTests/UserManagerTests.cs:line 97
      — End of stack trace from previous location where exception was thrown —
      X Couchbase.IntegrationTests.Configuration.Server.Streaming.HttpStreamConfigListenerTests.When_Config_Published_Subscriber_Receives_Config [1s 135ms]
      Error Message:
      Assert.True() Failure
      Expected: True
      Actual: False
      Stack Trace:
      at Couchbase.IntegrationTests.Configuration.Server.Streaming.HttpStreamConfigListenerTests.When_Config_Published_Subscriber_Receives_Config() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.IntegrationTests/Configuration/Server/Streaming/HttpStreamConfigListenerTests.cs:line 56

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard.ponton Richard Ponton
            richard.ponton Richard Ponton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty