[SERVER-56769] Use tarball from compile task instead of git.get_project Created: 07/May/21  Updated: 29/Oct/23  Resolved: 28/May/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

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

Issue Links:
Backports
Problem/Incident
causes SERVER-65200 Package task not run as part of task ... Closed
Related
is related to SERVER-55299 Preliminary pass at shell code in eve... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: STM 2021-05-31, STM 2021-06-14
Participants:
Story Points: 2

 Description   

A change made through evergreen.yml cleanup causes us to clone and set up the vm for each task (about 2 min to every single task in evergreen) which has increased the overall runtime. (git.get_project adds about 60 seconds to each task; we should not call it unless necessary.)

To decrease this overall runtime, we will tar up the workdir and the python venv dir and download them instead of git.get_project for all tasks that depend on compile.

The venv dir should go in /data/mci/{build_id} so every build has the same directory as the venv dir is not relocatable
 



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 29/May/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-56769 Fix push/publish tasks

(cherry picked from commit 741104e7ae6ddb25eed8f3e457fa50c314162522)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b456efd5356caa5b9c84919287c3e514af2648f6

Comment by Githook User [ 29/May/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-56769 Fix push/publish tasks
Branch: master
https://github.com/mongodb/mongo/commit/741104e7ae6ddb25eed8f3e457fa50c314162522

Comment by Githook User [ 28/May/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-56769 Use tarball from arhive_dist_test task instead of git.get_project

(cherry picked from commit 0089b70cca49afd81834c8d051c986e6232d409d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/6c857ec647406a67b4d708b4a7bc8aacd661350c

Comment by Githook User [ 28/May/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-56769 Use tarball from arhive_dist_test task instead of git.get_project
Branch: master
https://github.com/mongodb/mongo/commit/0089b70cca49afd81834c8d051c986e6232d409d

Comment by Brooke Miller [ 11/May/21 ]

One of the approaches Richard had in mind depended on EVG-14513. Due to this dependency, we're in favor of pursuing the tarball option (updated the Description appropriately).

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