[SERVER-74645] integration_tests_standalone[_audit] should not run a unqiue build Created: 06/Mar/23  Updated: 29/Oct/23  Resolved: 23/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.0.7, 5.0.19

Type: Bug Priority: Major - P3
Reporter: Alex Neben Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0
Participants:
Linked BF Score: 25

 Description   

This test runs a unique build and this causes the test to time out. This should build with the shared cache or build as part of the sync building path.



 Comments   
Comment by Githook User [ 01/Jun/23 ]

Author:

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

Message: SERVER-74645 Integration tests should require less compiles/run more consistent

(cherry picked from commit a7d50b85760ee61f3ae6711b6b879429c50ea01e)
(cherry picked from commit c180f6ea977cdaf6f84fdf1483573dd19928c75b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/0b3bb2abbb2f8744b1d343e7bbf47f0c06163c49

Comment by Githook User [ 31/May/23 ]

Author:

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

Message: SERVER-74645 Integration tests should require less compiles/run more consistent

(cherry picked from commit a7d50b85760ee61f3ae6711b6b879429c50ea01e)
Branch: SERVER-77309
https://github.com/mongodb/mongo/commit/bc08b8c9469f31d66f3b795e0ed894a158ab66cc

Comment by Githook User [ 30/May/23 ]

Author:

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

Message: SERVER-74645 Integration tests should require less compiles/run more consistent

(cherry picked from commit a7d50b85760ee61f3ae6711b6b879429c50ea01e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/bc08b8c9469f31d66f3b795e0ed894a158ab66cc

Comment by Daniel Moody [ 23/May/23 ]

This change should fix the BF https://jira.mongodb.org/browse/BF-27369, which is still currently building all the source then running the test, and applying a timeout which does not make since in that case.

I added backports to 6.0 and 5.0 which are where the BF is affecting.

Comment by Githook User [ 23/Mar/23 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-74645 Integration tests should require less compiles/run more consistent
Branch: master
https://github.com/mongodb/mongo/commit/a7d50b85760ee61f3ae6711b6b879429c50ea01e

Comment by Daniel Moody [ 06/Mar/23 ]

Its not really unique, it is using the same flags as our mainline compile tasks. It seems to be there was some confusion who ever originally constructed this task. I am assuming intent here but it looks like the task downloads the binaries then attempts to use scons to only build the missing bits. Well scons is not going to do that by default, it is going to make sure all dependencies are built even if the target already exists. So then the build proceeds to build all the object files and other dependencies (pulling them from cache if available).

In our other builds we share hosts so the build dir is already there and already populated. Ideally for all tests tasks we should build all the required binaries in a separate compile task and then download them in separate task that runs the test.

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