- 
    Type:Improvement 
- 
    Resolution: Duplicate
- 
    Priority:Major - P3 
- 
    None
- 
    Affects Version/s: None
- 
    Component/s: Build
- 
    None
- 
        Decision Automation Group
- 
        DAG 2019-05-06
- 
        3
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
After the SCons phase of the compile task completes, we spend something like 6 minutes doing post-build packaging and uploading tasks. Many of these tasks are not actual prerequisites for starting to run off-box tests. Moving them to a post-compile phase would allow those tasks to run concurrently with initiating off-box testing.
Not all parts can be elided: we still need at least the "binaries" and "archive.tgz" artifacts to get created.
However, it seems likely that the following long running tasks could be parallelized:
- Generating rpm and deb packages
- Uploading the debug symbols archive to s3
- Creating other tarfiles like the shell archive.
Making these changes would both allow off-box testing to start a few minutes faster, as well as make the timing of the 'compile' task more reflective of the actual time spent compiling.
- causes
- 
                    SERVER-40872 Spawning host with data from failed task no longer includes debug symbols -         
- Closed
 
-         
- has to be finished together with
- 
                    SERVER-40872 Spawning host with data from failed task no longer includes debug symbols -         
- Closed
 
-         
- is duplicated by
- 
                    SERVER-48893 Use dynamic linking for the commit queue build -         
- Closed
 
-         
- related to
- 
                    SERVER-40929 upload_debug_symbols should be required by compile in evergreen -         
- Closed
 
-