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

Use Python's requests package in setup_multiversion_mongodb.py instead of curl

    • Fully Compatible
    • TIG 2017-10-23

      Due to versions of Python < 2.7.9 not supporting certificate verification, the setup_multiversion_mongodb.py script was changed to download the feed and binaries using curl. This makes it more difficult to implement additional retry logic on top of curl. We should implement additional retry logic by using Python's requests package and logic similar to that in buildscripts/resmokelib/logging/handlers.py to tolerate older versions. SERVER-27251 can likely be closed a duplicate of this ticket if the setup_multiversion_mongodb.py script retries on any exception when running requests.get() and requests.Response.iter_content().

      https://jira.mongodb.org/browse/SERVER-27627?focusedCommentId=1508925&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1508925

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: