[CDRIVER-4022] Skip /WriteCommand/invalid_wc_server_error test on mongos Created: 11/Jun/21  Updated: 23/Jun/21  Resolved: 23/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-57772 Failpoints on mongos rewrite state ch... Closed

 Description   

The task test-latest-sharded-noauth-nosasl-nossl on the VS 2017 variant is failing against latest commits to the development branch.

The failing tests are:

/WriteCommand/invalid_wc_server_error 
/BulkOperation/basic

The first appearance of the failure occurred on June 2nd when running ad75396567.

Here is an example log output.

2021/06/11 01:05:56.075] ASSERT_MATCH failed with document:
2021/06/11 01:05:56.075] { "insertedCount" : { "$numberInt" : "1" }, "writeConcernErrors" : [ { "code" : { "$numberInt" : "6" }, "errmsg" : "Replication is being shut down" } ] }
2021/06/11 01:05:56.075] pattern:
2021/06/11 01:05:56.075] {"writeConcernErrors": [{"code": 91, "errmsg": "Replication is being shut down"}]}
2021/06/11 01:05:56.076] c:\data\mci\523a5393c109e5f4b7aa82f747613121\mongoc\src\libmongoc\tests\test-mongoc-write-commands.c:623 _test_invalid_wc_server_error()
2021/06/11 01:05:56.076] c:\data\mci\523a5393c109e5f4b7aa82f747613121\mongoc\src\libmongoc\tests\test-mongoc-write-commands.c:623 _test_invalid_wc_server_error(): precondition failed: match_json (&reply, false, __FILE__, __LINE__, BSON_FUNC, "{'writeConcernErrors': [{'code': 91, 'errmsg': " "'Replication is being shut down'}]}")
2021/06/11 01:05:56.082] Begin /WriteCommand/invalid_wc_server_error, seed 1623373369
2021/06/11 01:05:56.082]     { "status": "fail", "test_file": "/WriteCommand/invalid_wc_server_error", "seed": "1623373369", "start": 1895.500000, "end": 1895.843000, "elapsed": 0.343000  },
2021/06/11 01:05:56.415] FAIL:c:\data\mci\523a5393c109e5f4b7aa82f747613121\mongoc\src\libmongoc\tests\test-mongoc-bulk.c:187  test_bulk()
2021/06/11 01:05:56.415]   mongoc_bulk_operation_execute (bulk, &reply, &error)
2021/06/11 01:05:56.420] Begin /BulkOperation/basic, seed 1623373369
2021/06/11 01:05:56.420]     { "status": "fail", "test_file": "/BulkOperation/basic", "seed": "1623373369", "start": 1895.843000, "end": 1896.187000, "elapsed": 0.344000  },



 Comments   
Comment by Benji Rewis (Inactive) [ 23/Jun/21 ]

Skipping this test on mongos until SERVER-57772 is resolved.

Comment by Githook User [ 23/Jun/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: Upgrade Ubuntu tasks Evergreen (#796)

Comment by Benji Rewis (Inactive) [ 15/Jun/21 ]

This failure will be fixed as part of the larger "Evergreen upgrade": https://github.com/mongodb/mongo-c-driver/pull/796

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