Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101208

Retry if git sparse-checkout fails partway through when cloning query-correctness-tests

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • 200

      the script located at evergreen/query_tester_test_sparse_checkout.sh should be made more resilient to connection errors. We could do this by trying to run the command again in the case of a failure to keep checking out the remaining directories. The following is an example of an error that caused the query_correctness_generated_tests task to timeout fail (logs)

      [2025/02/19 23:12:00.556] [executor:query_tester_server_test:job2] 2025-02-20T04:12:00.556Z octopus-1771702139016:CleanEveryN ran in 1.00 seconds: no failures detected.
      [2025/02/19 23:12:48.314] fatal: index-pack failed
      [2025/02/19 23:12:48.314] fatal: could not fetch 5454aaeeef9207ed4ec91c821e2e95a7baed8a9e from promisor remote
      [2025/02/20 01:04:00.732] Hit exec timeout (2h0m0s).
      [2025/02/20 01:04:00.793] Command 'subprocess.exec' ('execute resmoke tests') in function 'run tests' (step 3.20 of 3) stopped early: context canceled.
      [2025/02/20 01:04:00.793] Finished command 'subprocess.exec' ('execute resmoke tests') in function 'run tests' (step 3.20 of 3) in 1h58m35.835444098s.
      [2025/02/20 01:04:00.795] Running task commands failed: running command: command stopped early: context canceled
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            naafiyan.ahmed@mongodb.com Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: