[query_tester] setup_repro_env.py script isn't pulling failing test files correctly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I followed this guide to debug a query correctness Evergreen task failure, but the failing test files aren't being pulled correctly. The command I ran is:

      ```
      python3 src/mongo/db/query/query_tester/tests/scripts/setup_repro_env.py mongodb_mongo_master_enterprise_amazon_linux2023_arm64_all_feature_flags_query_correctness_generated_test_1_patch_126b045a21edf2005939498ccb5bcc468b048bfa_698f670223537100073bb91a_26_02_13_18_03_37 mongodb_mongo_master_enterprise_amazon_linux2023_arm64_all_feature_flags_query_correctness_generated_test_2_patch_126b045a21edf2005939498ccb5bcc468b048bfa_698f670223537100073bb91a_26_02_13_18_03_37 --out_dir /home/ubuntu/mongo-query-correctness-repos
      ```

      However, when I run the command in step 6, I get an error saying the required files do not exist. Checking the `out_dir`, I can see there are fewer files than expected:
      ```

      ➜ mongo-query-correctness-repos tree
      .
      ├── query-correctness-tests-1
      │ ├── README.md
      │ └── alter-corpus.sh
      ├── query-correctness-tests-2
      │ ├── README.md
      │ └── alter-corpus.sh
      ├── task-0.log
      └── task-1.log

      2 directories, 6 files
      ```

            Assignee:
            Unassigned
            Reporter:
            Kyle Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: