[SERVER-43900] Set max_hosts to 1 for stitch_support_lib_build_and_test and embedded_sdk_build_and_test task groups Created: 08/Oct/19  Updated: 29/Oct/23  Resolved: 28/Oct/19

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

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

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0
Sprint: DAG 2019-11-04
Participants:
Linked BF Score: 28
Story Points: 2

 Description   

In BF-11716, the second task in the stitch_support_lib_build_and_test task group (stitch_support_run_tests) is failing because it gets run on a different build variant (and at the same time as, rather than after) it's dependency task (stitch_support_install_tests). We should set max_hosts to 1 on the stitch_support_lib_build_and_test task group so these tasks get run in consecutive order on the same host.

Similarly, in BF-14342, embedded_sdk_install_dev is getting run before it's dependency task (embedded_sdk_build_cdriver). These tasks are run as part of the embedded_sdk_build_and_test task group.

User story:
As a server engineer,
When I run the stitch_support_lib_build_and_test and embedded_sdk_build_and_test task groups, I should know that each task group's tasks will get run in consecutive order on the same host, so that I do not have failures in my build.

AC:

  • Tasks within the stitch_support_lib_build_and_test task and the embedded_sdk_build_and_test task groups should run in consecutive order

BF: https://jira.mongodb.org/browse/BF-11716



 Comments   
Comment by Githook User [ 29/Oct/19 ]

Author:

{'name': 'Jeff Zambory', 'email': 'jeff.zambory@mongodb.com'}

Message: SERVER-43900: Set max_hosts to 1 for certain task groups - embedded and stitch

(cherry picked from commit ec990b7af6b9d88c9ebb7d4ba4241c1c7d066e98)
Branch: v4.0
https://github.com/mongodb/mongo/commit/77762fc6d99f29930b6a9582c35c2669b6aec5bd

Comment by Githook User [ 28/Oct/19 ]

Author:

{'name': 'Jeff Zambory', 'email': 'jeff.zambory@mongodb.com'}

Message: SERVER-43900: Set max_hosts to 1 for certain task groups - embedded and stitch

(cherry picked from commit 8c6b3046faf58868efcdae1c59e692d0f9092bef)
Branch: v4.2
https://github.com/mongodb/mongo/commit/57e9c8b2c3155fcbe321c7f7e42bda9f90d365ac

Comment by Githook User [ 28/Oct/19 ]

Author:

{'email': 'jeff.zambory@mongodb.com', 'name': 'Jeff Zambory'}

Message: SERVER-43900: Set max_hosts to 1 for certain task groups - embedded and stitch
Branch: master
https://github.com/mongodb/mongo/commit/ec990b7af6b9d88c9ebb7d4ba4241c1c7d066e98

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