[SERVER-51124] Investigate generated build variants running on smaller instances Created: 24/Sep/20  Updated: 29/Oct/23  Resolved: 26/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Jason Chan 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 2020-10-05
Participants:
Story Points: 2

 Description   

It looks like generated build variants are running on smaller instances. Here is an example of a patch: https://evergreen.mongodb.com/version/5f6bafa43627e058ab692b0e that runs almost 3 hours for a compile task but then gets killed for OOM reasons.



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

Author:

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

Message: SERVER-51124: Bypass compile on dynamically generated build variants
Branch: master
https://github.com/mongodb/mongo/commit/4000635eb464b2eb13f0d843773b32296f35c6c8

Comment by David Bradford (Inactive) [ 25/Sep/20 ]

It looks like this was caused by the compile task being moved from a single-task task group to a multi-task task group. This change caused the bypass-compile code to run for the first task in the task group but wasn't carried over the other tasks. Moving the bypass-compile to be run for all tasks in the group fixes the issue.

Comment by David Bradford (Inactive) [ 24/Sep/20 ]

Thinking about this more, small instances should be fine, but we shouldn't actually be compiling. We should be downloading the compiled artifacts from the required rhel-62 compile.

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