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

venv_setup.sh should exit on pip failures

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc1, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • STM 2021-06-14
    • 0
    • 0

      Failures in venv setup or pip install will not fail in venv_setup.sh, and will instead lead to the deceptive error message "Failed to import a dependency. This is almost certainly because the task did not initialize the venv immediately after cloning the repository."

      errexit is likely overridden somewhere in the chain of shell scripts, so we're just going to settle for || exit.

            Assignee:
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Reporter:
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: