Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4022

Skip /WriteCommand/invalid_wc_server_error test on mongos

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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  },
      

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: