"check binary version" function in etc/evergreen.yml depends on PyYAML but doesn't install it

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • STM 2019-02-25
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The "check binary version" function depends on PyYAML being available. The Evergreen command is run as part of the "do setup" function prior to the "run tests" function running the command for the "install pip requirements" function. This leads to an ImportError.

      [2019/02/14 01:22:06.552] Running command 'shell.exec' in "do setup" (step 1.5 of 2)
      [2019/02/14 01:22:06.572] Traceback (most recent call last):
      [2019/02/14 01:22:06.572]   File "<string>", line 1, in <module>
      [2019/02/14 01:22:06.572] ImportError: No module named yaml
      [2019/02/14 01:22:06.762] python set to /data/mci/933429efe4de9f56d05d29dfd4c70afa/venv/bin/python
      [2019/02/14 01:22:06.762] The mongo version is 4.1.8-28-g7951290075, expected version is
      [2019/02/14 01:22:06.762] Command failed: command [pid=1971] encountered problem: exit status 1
      [2019/02/14 01:22:06.763] Task completed - FAILURE.
      

      https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_concurrency_replication_causal_consistency_7951290075a7f8ecadebf789503ec05a7b10da3c_19_02_14_00_07_46

            Assignee:
            Max Hirschhorn
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: