[SERVER-39578] "check binary version" function in etc/evergreen.yml depends on PyYAML but doesn't install it Created: 14/Feb/19  Updated: 29/Oct/23  Resolved: 14/Feb/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: tig-evgconfig
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-39579 "compile mongodb" function in sys-per... Closed
related to SERVER-39584 compile task in performance Evergreen... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: STM 2019-02-25
Participants:
Story Points: 1

 Description   

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



 Comments   
Comment by Githook User [ 14/Feb/19 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-39578 Install PyYAML before using it in "check binary version".
Branch: master
https://github.com/mongodb/mongo/commit/7f82db91f5a77568c72669554abe22b79b5dc312

Generated at Thu Feb 08 04:52:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.