[JAVA-4340] Evergreen: ServerDiscoveryAndMonitoringProseTests.monitorsSleepAtLeastMinHeartbeatFreqencyMSBetweenChecks Created: 11/Oct/21  Updated: 11/Oct/21  Resolved: 11/Oct/21

Status: Closed
Project: Java Driver
Component/s: Test Failure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: build-baron
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Looks like the failpoint is failing due to: "The server is being accessed through a load balancer, but this driver does not have load balancing enabled"

 [2021/10/08 20:38:43.098] FAILURE: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=11549-mongo-java-driver-shard-00-02.2tzoa.mongodb-dev.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoCommandException: Command failed with error 354 (LoadBalancerSupportMismatch): 'The server is being accessed through a load balancer, but this driver does not have load balancing enabled' on server 11549-mongo-java-driver-shard-00-02.2tzoa.mongodb-dev.net:27017. The full response is {"ok": 0, "errmsg": "The server is being accessed through a load balancer, but this driver does not have load balancing enabled", "code": 354, "codeName": "LoadBalancerSupportMismatch"}}}] (com.mongodb.MongoTimeoutException)
 [2021/10/08 20:38:43.098] com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=11549-mongo-java-driver-shard-00-02.2tzoa.mongodb-dev.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoCommandException: Command failed with error 354 (LoadBalancerSupportMismatch): 'The server is being accessed through a load balancer, but this driver does not have load balancing enabled' on server 11549-mongo-java-driver-shard-00-02.2tzoa.mongodb-dev.net:27017. The full response is {"ok": 0, "errmsg": "The server is being accessed through a load balancer, but this driver does not have load balancing enabled", "code": 354, "codeName": "LoadBalancerSupportMismatch"}}}]
 [2021/10/08 20:38:43.098] 	at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:181)
 [2021/10/08 20:38:43.098] 	at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:41)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoDatabaseImpl.executeCommand(MongoDatabaseImpl.java:195)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:164)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:159)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:149)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.FailPoint.enable(FailPoint.java:63)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.FailPoint.enable(FailPoint.java:51)
 [2021/10/08 20:38:43.098] 	at com.mongodb.client.ServerDiscoveryAndMonitoringProseTests.monitorsSleepAtLeastMinHeartbeatFreqencyMSBetweenChecks(ServerDiscoveryAndMonitoringProseTests.java:259)



 Comments   
Comment by Ross Lawley [ 11/Oct/21 ]

The test doesn't need to run on serverless to prove the test, so I skipped the test.

Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Test: Ensure not running in a serverless environment.

JAVA-4340
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7e99b35a0c74b47826d582a45bf88d253b87a915

Generated at Thu Feb 08 09:01:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.