Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4865

Fix broken ADL tests in EG

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      The Atlas Data Lake Tests have been failing in Evergreen since 2023-11-01 with "Test cluster has no writable server". We should investigate and fix this issue.

      [2023/12/07 19:29:58.906] [xUnit.net 00:00:41.93]     MongoDB.Driver.Tests.Specifications.atlas_data_lake_testing.prose_tests.AtlasDataLakeProseTests.Driver_should_connect_to_AtlasDataLake_without_authentication [FAIL]
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:11.54]   Starting:    MongoDB.Driver.Tests
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]       System.Exception : Test cluster has no writable server. Client view of the cluster is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27017" }", EndPoint: "Unspecified/localhost:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: No connection could be made because the target machine actively refused it [::1]:27017
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Connections\TcpStreamFactory.cs:line 142
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Connections\TcpStreamFactory.cs:line 63
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 269
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          --- End of inner exception stack trace ---
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 283
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 232
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Servers\ServerMonitor.cs:line 211
      [2023/12/07 19:29:58.922] [xUnit.net 00:00:41.93]          at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken) in C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\src\MongoDB.Driver.Core\Core\Servers\ServerMonitor.cs:line 307", LastHeartbeatTimestamp: "2023-12-08T02:29:50.9386422Z", LastUpdateTimestamp: "2023-12-08T02:29:50.9386425Z" }] }.
      [2023/12/07 19:29:58.924] [xUnit.net 00:00:41.93]       Stack Trace:
      [2023/12/07 19:29:58.924] [xUnit.net 00:00:41.93]         C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\tests\MongoDB.Driver.Core.TestHelpers\CoreTestConfiguration.cs(230,0): at MongoDB.Driver.CoreTestConfiguration.CreateCluster(ClusterBuilder builder, Boolean allowDataBearingServers)
      [2023/12/07 19:29:58.924] [xUnit.net 00:00:41.93]            at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
      [2023/12/07 19:29:58.924] [xUnit.net 00:00:41.93]            at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
      [2023/12/07 19:29:58.924] [xUnit.net 00:00:41.93]            at System.Lazy`1.CreateValue()
      [2023/12/07 19:29:58.925] [xUnit.net 00:00:41.93]         C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\tests\MongoDB.Driver.TestHelpers\DriverTestConfiguration.cs(150,0): at MongoDB.Driver.Tests.DriverTestConfiguration.CreateClient(Action`1 clientSettingsConfigurator, Boolean useMultipleShardRouters)
      [2023/12/07 19:29:58.925] [xUnit.net 00:00:41.93]         C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\tests\MongoDB.Driver.TestHelpers\DriverTestConfiguration.cs(172,0): at MongoDB.Driver.Tests.DriverTestConfiguration.CreateDisposableClient(Action`1 clientSettingsConfigurator, LoggingSettings loggingSettings, Boolean useMultipleShardRouters)
      [2023/12/07 19:29:58.925] [xUnit.net 00:00:41.93]         C:\data\mci\b01c539e4ff16e9091fd34249531604f\mongo-csharp-driver\tests\MongoDB.Driver.Tests\Specifications\atlas-data-lake-testing\prose-tests\AtlasDataLakeProseTests.cs(34,0): at MongoDB.Driver.Tests.Specifications.atlas_data_lake_testing.prose_tests.AtlasDataLakeProseTests.Driver_should_connect_to_AtlasDataLake_without_authentication()
      

            Assignee:
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: