[SERVER-40872] Spawning host with data from failed task no longer includes debug symbols Created: 27/Apr/19  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: [DO NOT ASSIGN] Backlog - Decision Automation Group (DAG) (Inactive)
Resolution: Won't Do Votes: 0
Labels: tig-evgconfig
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt End to End
has to be finished together with SERVER-40032 Move post-scons compile tasks that do... Closed
Problem/Incident
is caused by SERVER-40032 Move post-scons compile tasks that do... Closed
Assigned Teams:
Decision Automation Group
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: STM 2019-05-06
Participants:
Story Points: 1

 Description   

Clicking the "Spawn..." link for an Evergreen and leaving the "Load data for ... onto host at startup" checkbox checked would cause Evergreen to run the evergreen fetch command after the host is provisioned. The evergreen fetch command would download any artifacts attached to the task using the s3.put or attach.artifacts commands as well as any artifacts attached to the tasks it depends on (e.g the compile task). Now that uploading the debug symbols has been moved to a separate upload_debug_symbols task and no tasks depend on the upload_debug_symbols task, the tarball containing the debug symbols are not downloaded by the evergreen fetch command.

We should run the attach.artifacts command as part of the compile task to preserve the old behavior.

[
  {
    "name": "mongo-debugsymbols.tgz",
    "link": "https://s3.amazonaws.com/mciuploads/${mongo_debugsymbols}",
    "visibility": "public"
  }
]

Separately, we should remove the ignore_artifacts_for_spawn that's being specified to the attach.artifacts command in the etc/evergreen.yml project configuration file because it isn't actually used by Evergreen. Whether the artifacts are downloaded on a spawn host is controlled by an ignore_for_fetch parameter within the file description itself.



 Comments   
Comment by David Bradford (Inactive) [ 28/Oct/19 ]

SERVER-40032, that caused this, was reverted. This should be when that ticket is re-done.

Comment by Githook User [ 02/May/19 ]

Author:

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

Message: Revert "SERVER-40872 Add link to debug symbols on compile task page."

This reverts commit 497264f15c41e708f6700f65826212519b9a576c.
Branch: master
https://github.com/mongodb/mongo/commit/6614cf807e51049880d203600cb8b2099457266a

Comment by Githook User [ 29/Apr/19 ]

Author:

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

Message: SERVER-40872 Add link to debug symbols on compile task page.
Branch: master
https://github.com/mongodb/mongo/commit/497264f15c41e708f6700f65826212519b9a576c

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