Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-480

Fix flaky transaction integration test(s?)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.7.7
    • Affects Version/s: 0.6.1
    • Component/s: Shell API
    • Labels:
      None
    • Not Needed
    • Iteration Star Apple

      https://evergreen.mongodb.com/task/mongosh_win32_test_m40x_n12_win_cf894341dd621eac67f12c1c2ea38de21e86499c_20_11_30_09_47_48

      [2020/11/30 09:57:39.865]   1) Session
      [2020/11/30 09:57:39.865]        integration
      [2020/11/30 09:57:39.865]          transaction methods are called
      [2020/11/30 09:57:39.865]            aborts a transaction:
      [2020/11/30 09:57:39.865]      MongoError: Unable to acquire lock '{7817449386782089629: Database, 899920359141007773}' within a max lock request timeout of '5ms' milliseconds.

       https://evergreen.mongodb.com/task/mongosh_win32_test_m40x_n12_win_14886b488bd8af5b091c8fa23b8cda21d8fd9e94_20_12_04_14_47_16

      [2020/12/04 15:00:03.031]   1) Session
      [2020/12/04 15:00:03.031]        integration
      [2020/12/04 15:00:03.031]          transaction methods are called
      [2020/12/04 15:00:03.031]            aborts a transaction:
      [2020/12/04 15:00:03.031]      Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\data\mci\42d494cdd5a416c8f291aba4cb331748\src\packages\shell-api\src\session.spec.ts)
      [2020/12/04 15:00:03.031]       at listOnTimeout (internal/timers.js:554:17)
      [2020/12/04 15:00:03.031]       at processTimers (internal/timers.js:497:7)
      

      https://spruce.mongodb.com/task/mongosh_darwin_test_mlatest_n12_patch_5c6199d1158fca3f4b5b2f441b9786dfb364906e_5fd0992f306615062ef34eb2_20_12_09_09_30_24?execution=1 

      [2020/12/09 09:40:50.437]   1) Session
      [2020/12/09 09:40:50.437]        integration
      [2020/12/09 09:40:50.437]          transaction methods are called
      [2020/12/09 09:40:50.437]            aborts a transaction:
      [2020/12/09 09:40:50.437]      MongoError: Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1607506765, 15). Collection minimum is Timestamp(1607506766, 1)
      [2020/12/09 09:40:50.437]       at MessageStream.messageHandler (/data/mci/61400af76d9c88941e820c4b9f869060/src/packages/service-provider-server/node_modules/mongodb/src/cmap/connection.ts:337:20)
      [2020/12/09 09:40:50.437]       at processIncomingData (/data/mci/61400af76d9c88941e820c4b9f869060/src/packages/service-provider-server/node_modules/mongodb/src/cmap/message_stream.ts:171:12)
      [2020/12/09 09:40:50.437]       at MessageStream._write (/data/mci/61400af76d9c88941e820c4b9f869060/src/packages/service-provider-server/node_modules/mongodb/src/cmap/message_stream.ts:66:5)
      

       

       

       

            Assignee:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: