[CDRIVER-4333] Many mongohouse tests currently fail and/or are flaky Created: 11/Apr/22  Updated: 24/Jan/24  Resolved: 24/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: failing-on-waterfall, flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Stabilize Evergreen

 Description   

Many of the mongohouse tests currently fail and/or are flaky. The problematic tests are:

/mongohouse/aggregate
/mongohouse/estimatedDocumentCount
/mongohouse/find
/mongohouse/getMore
/mongohouse/listCollections
/mongohouse/listDatabases
/mongohouse/runCommand

They are currently being skipped, so to work on them, it will first be necessary to remove them from .evergreen/skip-tests.txt and run a patch build to determine the current failure mode(s).



 Comments   
Comment by Githook User [ 24/Jan/24 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4333 unskip `mongohouse` tests (#1518)

  • remove `mongohouse` tests from skip
  • do not run `drop` in mongohouse tests
  • do not run `configureFailPoint` in mongohouse tests
  • fix leak
  • pass `ON` for `RUN_MONGOHOUSE_TESTS`

To enable using `test_framework_getenv_bool`. "true" is not a supported value.

  • add helper `test_framework_is_mongohouse`

To reduce hard coding of the string "RUN_MONGOHOUSE_TESTS"
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/283cdc2e6526682b8879233fdf1faa260549891e

Comment by Kevin Albertson [ 02/Oct/23 ]

Tests were unskipped and run in a patch build: https://spruce.mongodb.com/version/651abeec3e8e86808cd7fef0

Resulted in failure with logs:

[2023/10/02 13:09:10.872] 2023-10-02T13:09:10.872Z	[INFO]	frontend.command	failed to parse command	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost", "tenantID": "000000000000000000000000", "dataLakeType": "UNKNOWN", "correlationID": "178a4c5816383cb2b152a117", "x-request-id": "178a4c5816383cb2b152a117", "commandName": "unknown", "error": "command configureFailPoint is unsupported"}
[2023/10/02 13:09:10.872] FAIL:/data/mci/6951573111c2bd0ce1f762752b43298b/mongoc/src/libmongoc/tests/json-test.c:1376  deactivate_fail_points()
[2023/10/02 13:09:10.872]   r
[2023/10/02 13:09:10.872]   command configureFailPoint is unsupported, correlationID = 178a4c5816383cb2b152a117
[2023/10/02 13:09:10.877] 2023-10-02T13:09:10.877Z	[DEBUG]	frontend	client disconnected	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost", "tenantID": "000000000000000000000000", "dataLakeType": "UNKNOWN", "bytesRead": 0}
[2023/10/02 13:09:10.877] 2023-10-02T13:09:10.877Z	[INFO]	frontend	client disconnected	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost", "tenantID": "000000000000000000000000", "dataLakeType": "UNKNOWN"}
[2023/10/02 13:09:10.877] 2023-10-02T13:09:10.877Z	[INFO]	frontend	connection handler terminated	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost", "tenantID": "000000000000000000000000", "dataLakeType": "UNKNOWN"}
[2023/10/02 13:09:10.877] 2023-10-02T13:09:10.877Z	[INFO]	frontend	closing connection	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost"}
[2023/10/02 13:09:10.877] bash: line 19: 15646 Aborted                 (core dumped) ./src/libmongoc/test-libmongoc --no-fork -l /mongohouse/* -d --skip-tests .evergreen/etc/skip-tests.txt
[2023/10/02 13:09:10.877] 2023-10-02T13:09:10.877Z	[INFO]	frontend	refresh tenant periodically: context canceled	{"gitVersion": "d80516f8e35bf965aefe7409cde5dee19c0db97f", "connectionID": 829455161, "remoteIP": "127.0.0.1", "hostname": "localhost"}
[2023/10/02 13:09:10.877] Begin /mongohouse/aggregate, seed 636423886

Leaving in "Backlog".

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