Windows encryption tests use an incorrect path for setup-secrets.sh

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Python Drivers
    • 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

      The task: https://spruce.mongodb.com/task/mongo_python_driver_encryption_crypt_shared_win64_python3.13_test_latest_replica_set_auth_ssl_sync_async_patch_e6a4a7145eccb0b6c76c84aa539f29b40f3424b3_67fec6138250720007260f95_25_04_15_20_49_09/tests?execution=0&sortBy=STATUS&sortDir=ASC

      There appears to be the incorrect type of slash in the path for setup-secrets.sh, causing the test setup to fail.

      The error:

       [2025/04/15 14:18:10.111] INFO     Running command 'ls -la libmongocrypt/nocrypto'...
       [2025/04/15 14:18:10.111] INFO     Running command 'ls -la libmongocrypt/nocrypto'... done.
       [2025/04/15 14:18:10.111] INFO     Running command 'chmod +x libmongocrypt/nocrypto/bin/mongocrypt.dll'...
       [2025/04/15 14:18:10.126] INFO     Running command 'chmod +x libmongocrypt/nocrypto/bin/mongocrypt.dll'... done.
       [2025/04/15 14:18:10.127] INFO     Running command 'bash C:\data\mci\2571\drivers-tools\.evergreen\csfle/setup-secrets.sh'...
       [2025/04/15 14:18:10.146] bash: C:datamci2571drivers-tools.evergreencsfle/setup-secrets.sh: No such file or directory
       [2025/04/15 14:18:10.147] ERROR    None
       [2025/04/15 14:18:10.147] ERROR    Command '['bash', 'C:datamci2571drivers-tools.evergreencsfle/setup-secrets.sh']' returned non-zero exit status 127.
       [2025/04/15 14:18:10.177] error: Recipe `setup-tests` failed on line 69 with exit code 127
       [2025/04/15 14:18:10.177] Command 'subprocess.exec' in function 'run tests' (step 2.1 of 2) failed: process encountered problem: exit code 127.
      

            Assignee:
            Noah Stapp
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: