[SERVER-85171] split unittest tasks up Created: 12/Jan/24  Updated: 02/Feb/24  Resolved: 02/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.6, 6.0.14, 7.3.0-rc2

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-84740 switch macos variants to dynamic link... Closed
is related to SERVER-86019 Compile all should be converted to co... Closed
is related to SERVER-85682 add unittest coverage where missing Closed
Assigned Teams:
Build
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.3, v7.0, v6.0
Sprint: Build and Correctness OnDeck
Participants:
Linked BF Score: 113

 Description   

https://docs.google.com/document/d/1G0iuLtuDbkf8qOiytr06JrrK0_3p3NocXspx1sk0_FQ/edit

The new task will use scons to compile the unittests in 4 different tasks. We will create 4 alias targets in scons by taking the sources of the existing install-unittests alias, and splitting them into 4 equal in number groups. They will be labeled install-

{first, second, third, fourth}

-quarter-unittests. These targets will be invoked in the corresponding 1 of 4 tasks. Then in the same task, resmoke will then be invoked using the build/install dir default to execute all the unittests that exist in the directory.

These tasks will diverge from the standard task group framework, and will execute on new individual hosts. This will leverage the scons cache heavily, as all the required prerequisite build artifacts must be in place. The tasks will have dependencies on the normal compile tasks, and so the cache is assumed to (in the normal case) be hot for these tasks and no extra duplicative building will take place.



 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-85171 split up unittests (#18251)

GitOrigin-RevId: 11eaeaae87106b8e96fdc982c731289d95ca4db0
Branch: v6.0
https://github.com/mongodb/mongo/commit/d7536e2788f66c77ba7be7c2d46543a9a98a6e70

Comment by Githook User [ 01/Feb/24 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-85171 split up unittests (#18251)

GitOrigin-RevId: 474c1eb81bd7cb6343fdf37e5b74e97d77396b7d
Branch: v7.0
https://github.com/mongodb/mongo/commit/bbb5cd559cc3cc3cfb4d8f63471d8801e5458b68

Comment by Githook User [ 01/Feb/24 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-85171 split up unittests (#18251)

(cherry picked from commit a92fc2bc46c1fdef8dfe2ef29e3347f39cbc0ad7)

GitOrigin-RevId: e51923f07216b3e2c9f7637505e64b59a5f7192c
Branch: v7.3
https://github.com/mongodb/mongo/commit/247774c59f525e3490dd565ba129b774581ca685

Comment by Githook User [ 24/Jan/24 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-85171 split up unittests (#18251)

GitOrigin-RevId: a92fc2bc46c1fdef8dfe2ef29e3347f39cbc0ad7
Branch: master
https://github.com/mongodb/mongo/commit/0e4ea0999118cc965dbd006a2ad8874bf0bcd23a

Generated at Thu Feb 08 06:57:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.