[CSHARP-4865] Fix broken ADL tests in EG Created: 08/Dec/23  Updated: 13/Dec/23  Resolved: 13/Dec/23

Status: Closed
Project: C# Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: None

Type: Build Failure Priority: Unknown
Reporter: James Kovacs Assignee: Oleksandr Poliakov
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by CSHARP-4837 Pull mongohouse image from ADL ECR repo Closed
Documentation Changes Summary:

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?


 Description   

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()


Generated at Wed Feb 07 21:49:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.