[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: |
|
||||||||||||||||||||||||
| 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: GitOrigin-RevId: 11eaeaae87106b8e96fdc982c731289d95ca4db0 |
| Comment by Githook User [ 01/Feb/24 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}Message: GitOrigin-RevId: 474c1eb81bd7cb6343fdf37e5b74e97d77396b7d |
| Comment by Githook User [ 01/Feb/24 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}Message: (cherry picked from commit a92fc2bc46c1fdef8dfe2ef29e3347f39cbc0ad7) GitOrigin-RevId: e51923f07216b3e2c9f7637505e64b59a5f7192c |
| Comment by Githook User [ 24/Jan/24 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}Message: GitOrigin-RevId: a92fc2bc46c1fdef8dfe2ef29e3347f39cbc0ad7 |