[GODRIVER-2943] Fix failing logging tests Created: 11/Aug/23  Updated: 08/Dec/23  Resolved: 07/Dec/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0, 1.13.2

Type: Build Failure Priority: Major - P3
Reporter: Steve Silvester Assignee: Preston Vasquez
Resolution: Done Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-2966 ServerHeartbeatStartedEvent does not ... Closed
depends on GODRIVER-3009 Fix encoding panic when encoding erro... Closed
depends on GODRIVER-2968 Add "Ok" field to server struct Closed
Gantt Dependency
has to be done after GODRIVER-2966 ServerHeartbeatStartedEvent does not ... Closed
Related
related to GODRIVER-2967 Sync SDAM "Topology Lifecycle" with f... Backlog
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 following tests are failing in recent builds on Ubuntu.

  • TestUnifiedSpec/server-discovery-and-monitoring/unified/logging-replicaset.json
  • TestUnifiedSpec/server-discovery-and-monitoring/unified/logging-replicaset.json/Topology_lifecycle

Example:

 [2023/08/11 13:54:20.750] === RUN   TestUnifiedSpec/server-discovery-and-monitoring/unified/logging-replicaset.json/Topology_lifecycle
 [2023/08/11 13:54:20.750]     unified_spec_runner.go:134: error running operation "waitForEvent" at index 1: execution failed: timed out waiting for event: context deadline exceeded



 Comments   
Comment by Githook User [ 08/Dec/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: GODRIVER-2943 [master] Re-organize client entity expected log messages (#1491)

Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/721192424002b72dcdc1099954301c39bf7c881a

Comment by Githook User [ 07/Dec/23 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2943 Re-organize client entity expected log messages (#1366)
Branch: v1
https://github.com/mongodb/mongo-go-driver/commit/2f0917c55633265e3b64d6beaf26c942938b9926

Comment by Preston Vasquez [ 25/Aug/23 ]

steve.silvester@mongodb.com Yes, thank you.

Comment by Steve Silvester [ 25/Aug/23 ]

Don't we need to unskip the tests then?

Comment by Preston Vasquez [ 25/Aug/23 ]

This was likely resolved by GODRIVER-2572 , which updated the err channels to not block if the error is nil.

Comment by Githook User [ 16/Aug/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: GODRIVER-2943 Skip failing logging tests (#1350)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/20f8121078755fb137ad6236acf3c031021a0d17

Comment by Steve Silvester [ 15/Aug/23 ]

https://github.com/mongodb/mongo-go-driver/pull/1350

Generated at Thu Feb 08 08:39:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.