[SERVER-43406] Reduce pip logging in tasks Created: 20/Sep/19  Updated: 29/Oct/23  Resolved: 25/Sep/19

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

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: DAG 2019-10-07
Participants:
Story Points: 2

 Description   

In most evergreen tasks, we setup a python virtualenv for python scripts to run in. As part of that, we do a `pip install` for the requirements. This writes a lot of information to the logs that is rarely needed. We could pip this output to a file and upload it, that would clean up the logs, but still provide traceability if what python packages have been installed needs to be investigated.


As a Server engineer,
I want pip install of requirements not to write to the evergreen logs,
So that it is easier to find what I'm looking for in the logs.


AC:

  • pip install does not write all the installed packages to the log.
  • The packages and version installed by pip are still available if needed.


 Comments   
Comment by Githook User [ 25/Sep/19 ]

Author:

{'username': 'dbradf', 'email': 'david.bradford@mongodb.com', 'name': 'David Bradford'}

Message: SERVER-43406: Reduce setup virtualenv log verbosity
Branch: master
https://github.com/mongodb/mongo/commit/9bd1aab1f14c75758a18ed0f0401e7c9837c5a0b

Generated at Thu Feb 08 05:03:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.