Flaky: Find integration tests first failure causes remainders to fail. [2]

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Flaky Test
    • Not Needed
    • None
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed
    • Hide

      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?

      Show
      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?
    • None
    • None
    • None
    • None
    • None
    • None

       

       [2025/06/03 22:30:51.648]   1) Find
       [2025/06/03 22:30:51.648]        shouldCorrectlyPerformFindsWithHintTurnedOn:
       [2025/06/03 22:30:51.648]      Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/data/mci/ca0cfa4b27adb41d4b69d783f90b1673/src/test/integration/crud/find.test.js)
       [2025/06/03 22:30:51.648]       at listOnTimeout (node:internal/timers:581:17)
       [2025/06/03 22:30:51.648]       at processTimers (node:internal/timers:519:7)
       [2025/06/03 22:30:51.648] 
       [2025/06/03 22:30:51.649]   2) Find
       [2025/06/03 22:30:51.649]        shouldCorrectlyPerformFindsWithHintTurnedOn:
       [2025/06/03 22:30:51.649]       ServerSessionPool acquired count
       [2025/06/03 22:30:51.649]       + expected - actual
       [2025/06/03 22:30:51.649]       -1
       [2025/06/03 22:30:51.649]       +0
       [2025/06/03 22:30:51.649]       
       [2025/06/03 22:30:51.649]       at LeakChecker.assert (test/tools/runner/hooks/leak_checker.ts:110:87)
       [2025/06/03 22:30:51.649]       at Context.leakCheckerAfterEach (test/tools/runner/hooks/leak_checker.ts:130:25)
       [2025/06/03 22:30:51.649] 
       [2025/06/03 22:30:51.649]   3) Find
       [2025/06/03 22:30:51.649]        shouldCorrectlyErrorOutfindOneAndUpdateOnDuplicateRecord:
       [2025/06/03 22:30:51.649]      Uncaught AssertionError: expected Error: releasing before acquiring even once?? to not exist
       [2025/06/03 22:30:51.649]       at /data/mci/ca0cfa4b27adb41d4b69d783f90b1673/src/test/integration/crud/find.test.js:517:35
       [2025/06/03 22:30:51.649]       at /data/mci/ca0cfa4b27adb41d4b69d783f90b1673/src/node_modules/mongodb-legacy/src/utils.js:19:16
       [2025/06/03 22:30:51.649]       at processTicksAndRejections (node:internal/process/task_queues:95:5)
       [2025/06/03 22:30:51.649] 
       [2025/06/03 22:30:51.649]   4) Find
       [2025/06/03 22:30:51.649]        shouldCorrectlyErrorOutfindOneAndUpdateOnDuplicateRecord:
       [2025/06/03 22:30:51.649]       ServerSessionPool acquired count
       [2025/06/03 22:30:51.649]       + expected - actual
       [2025/06/03 22:30:51.649]       -1
       [2025/06/03 22:30:51.649]       +0
       [2025/06/03 22:30:51.649]       
       [2025/06/03 22:30:51.649]       at LeakChecker.assert (test/tools/runner/hooks/leak_checker.ts:110:87)
       [2025/06/03 22:30:51.649]       at Context.leakCheckerAfterEach (test/tools/runner/hooks/leak_checker.ts:130:25) 

      https://evergreen.mongodb.com/task_log_raw/mongo_node_driver_next_rhel80_large_Node20_test_latest_sharded_cluster_441186aefca0e4d0796f740380268cb81abfeecc_25_06_03_19_51_14/0?type=T

      AC

      • Convert the shouldCorrectlyPerformFindsWithHintTurnedOn test to async/await
      • Try to reproduce the flakiness (loop 1000x+) - determine if it reproduces on all or just latest; if it does not reproduce at all, put the ticket back
      • If it does reproduce, debug the failure; timebox to a day
         

            Assignee:
            Bailey Pearson
            Reporter:
            Durran Jordan
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: